import type { ParseTranslationParams, ParseTranslationParamsServer, Prettify } from "../utils/type";
type Translations = Record<string, Record<string, string>>;
export declare class Dictionary<T extends Translations> {
    name: string;
    dictionary: T;
    constructor(name: string, dictionary: T);
    reference(key: keyof T): T[keyof T];
    render<K extends keyof T, U extends keyof T[K], R = Prettify<ParseTranslationParams<T[K][U]>>>(key: K, ...args: R extends Record<string, never> ? [args?: {
        locale?: U | (string & {});
    }] : [args: {
        locale?: U | (string & {});
        params: R;
    }]): any;
    static create<const T extends Translations>(name: string, translations: T): Dictionary<T>;
    static text<const T extends Record<string, string>, U extends keyof T>(content: T, ...args: Prettify<ParseTranslationParamsServer<T[U]>> extends Record<string, never> ? [args?: {
        locale?: U | (string & {});
    }] : [
        args: {
            locale?: U | (string & {});
            params: Prettify<ParseTranslationParamsServer<T[U]>>;
        }
    ]): string;
}
export {};
//# sourceMappingURL=Dictionary.d.ts.map