declare const _default: {
    i18n: typeof i18n;
    locale: string;
    t: typeof t;
    use: typeof use;
};
export default _default;

/**
 * Replaces params in a translation message with respective values
 * @param {string} path Translation path (foo.bar.baz)
 * @param {object} params Any params used in the translation message
 * @returns {string}
 */
export declare function format(path: any, params: any): any;

/**
 * Sets the translate function `t()`
 * @param {function} fn Translate function `t()`
 */
export declare function i18n(fn: any): void;

export declare let locale: string;

/**
 * Calls the provided translation method `config.i18n.t` if provided, or the built-in
 * @param {...(string|object)} args
 * @param {string} path Translation path (foo.bar.baz)
 * @param {object} params Any params used in the translation message
 * @returns {string} Translation message
 */
export declare function t(...args: any[]): any;

/**
 * Sets the locale
 * @param {string} l locale
 */
export declare function use(l: any): void;

export { }
