UNPKG

@shelchin/svelte-i18n

Version:

The last Svelte i18n library you'll ever need. Type-safe, AI-powered, zero-config.

13 lines (12 loc) 422 B
import type { I18nInstance } from '../core/types.js'; interface Props { class?: string; showFlags?: boolean; showLabel?: boolean; localeNames?: Record<string, string>; localeFlags?: Record<string, string>; i18n?: I18nInstance; } declare const LanguageSwitcher: import("svelte").Component<Props, {}, "">; type LanguageSwitcher = ReturnType<typeof LanguageSwitcher>; export default LanguageSwitcher;