export type StorefrontLanguage = 'en' | 'fr' | 'ar'

export const MARKETPLACE_LANGUAGE_COOKIE = 'storefront-language'
export const SHARED_LANGUAGE_COOKIE = 'rentaldrivego-language'

export function isStorefrontLanguage(value: string | null | undefined): value is StorefrontLanguage {
  return value === 'en' || value === 'fr' || value === 'ar'
}
