/**
 * translations mixin provides utility functions that gettext will recognise
 */
type InterpolateData = any[] | Record<string, any>;
declare global {
    interface Window {
        gettext?: (str: string) => string;
        interpolate?: (str: string, data: InterpolateData, named: boolean) => string;
    }
}
declare const gettext: (str: string) => string;
declare const interpolate: (str: string, data: Record<string, any>) => string;
export declare function useTranslations(): {
    gettext: (str: string) => string;
    interpolate: (str: string, data: Record<string, any>) => string;
};
export { gettext, interpolate };
declare const _default: {
    methods: {
        gettext(str: string): string;
        interpolate(str: string, data: {
            [key: string]: any;
        }): string;
    };
};
export default _default;
//# sourceMappingURL=translations-mixin.d.ts.map