export interface Language { code: string; name: string; /** Optional emoji flag (e.g. "🇬🇧"). Falls back to 2-letter code if omitted. */ flag?: string; } interface Props { languages: Language[]; current: string; onSelect: (code: string) => void; class?: string; /** Direction the dropdown opens. Defaults to "right". Ignored when current language is RTL. */ align?: 'left' | 'right'; /** Language codes that should trigger RTL dropdown alignment. */ rtlLanguages?: string[]; /** localStorage key for persisting the selected language. */ storageKey?: string; } declare const LanguageSelector: import("svelte").Component; type LanguageSelector = ReturnType; export default LanguageSelector;