export type DashboardLocale = 'zh' | 'en';
export declare const DASHBOARD_LOCALE_STORAGE_KEY = "botmux.dashboard.locale";
export declare function normalizeDashboardLocale(value: unknown): DashboardLocale | null;
export declare function detectDashboardLocale(languages?: readonly string[]): DashboardLocale;
export declare function createDashboardTranslator(locale: DashboardLocale): (key: string, params?: Record<string, string | number>) => string;
export declare function readStoredDashboardLocale(storage: Storage | undefined, languages: readonly string[]): DashboardLocale;
//# sourceMappingURL=i18n.d.ts.map