export declare function loadLocale(locale: string, supportedLocales: Record): Promise; export declare function useI18n(storage: { getStore: (k: string, d?: any) => any; setStore: (k: string, v: any) => void; }, initialLocale: string, emitter: any, supportedLocales: Record, config?: { get: (key: any) => unknown; }): { t: (key: string, ...params: any[]) => string; locale: unknown; localeAtom: { set: (newValue: string) => void; eq: (oldValue: string | undefined, newValue: string) => boolean; get: () => string; readonly init: string | undefined; readonly lc: number; listen: (listener: (value: string, oldValue: string | undefined) => void) => () => void; notify: (oldValue?: string | undefined) => void; off: () => void; subscribe: (listener: (value: string, oldValue?: string | undefined) => void) => () => void; readonly value: string | undefined; }; };