import type { Locale } from 'date-fns';
import type { TFunction } from 'i18next';
type Translations = {
    [key: string]: string;
};
type LanguageTranslations = {
    [language: string]: Translations;
};
export declare function loadTranslations(translations: LanguageTranslations): void;
export declare let dateOptions: {
    locale: Locale;
};
export declare const locales: import("./store").Writable<string[]>;
export declare const locale: {
    get: () => string;
    set: (value: string) => Promise<TFunction<"translation", undefined>>;
    subscribe: (run: import("./store").Subscriber<string>, invalidate?: import("./store").Invalidator<string> | undefined) => import("./store").Unsubscriber;
};
export declare const t: import("./store").Readable<TFunction<"translation", undefined>>;
export declare const escapedT: TFunction;
export declare function promisifyCallback<T, R>(fn: Function, thisArg: any): (value: T) => Promise<R>;
export {};
