export interface LocaleOption { code: string; /** Display name in that language (e.g. EspaƱol) */ label: string; /** Optional English / meta label */ englishLabel?: string; /** Flag emoji or short regional mark */ flag?: string; /** Region hint shown in list, e.g. Spain */ region?: string; dir?: 'ltr' | 'rtl'; } type LocaleVariant = 'menu' | 'segmented' | 'list'; type LocaleSize = 'sm' | 'md' | 'lg'; interface LocaleSwitcherProps { value?: string; locales?: LocaleOption[]; variant?: LocaleVariant; size?: LocaleSize; label?: string; showLabel?: boolean; showFlags?: boolean; /** * Compact header style: language name on top, code underneath (no code badge on the right). */ stacked?: boolean; align?: 'start' | 'end'; class?: string; onchange?: (code: string, locale: LocaleOption) => void; } declare const LocaleSwitcher: import("svelte").Component; type LocaleSwitcher = ReturnType; export default LocaleSwitcher;