import { ILocalizedMessages } from "../strings/msgdef";
export declare const DEFAULT_LOCALE = "en";
/**
 * Registers a string bundle for the given locale
 *
 * @export
 * @param {string} locale
 * @param {ILocalizedMessages} bundle
 */
export declare function registerStringBundle(locale: string, bundle: ILocalizedMessages): void;
/**
 * Formats the specified string and substitutes any placeholders (enclosed in {})
 * with the specified arguments
 *
 * @export
 * @param {string} format
 * @param {*} [args]
 * @returns {string}
 */
export declare function fmt(format: string, args?: any): string;
/**
 * Returns the localized string for the given key
 *
 * @export
 * @param {keyof ILocalizedMessages} key Any property name of {@link ILocalizedMessages}
 * @param {string} [locale="en"]
 * @param {*} [args] If a localized string has placeholders, they will be replaced with the values defined here
 * @returns {string}
 */
export declare function tr(key: keyof ILocalizedMessages, locale?: string, args?: any): string;
