export interface Localized { value: string; } export interface LocalizationSpec { key: string; value: string; comment?: string; example?: string; } export interface NestedMap { [key: string]: T | NestedMap; } export declare type LocalizedStrings = NestedMap; export declare function isLocalized(x: object): x is Localized; export declare function formatString(fmt: string, ...args: any[]): string; export declare function __(arg: string | Localized | LocalizationSpec, ...rest: any[]): string; export declare enum Locale { en = "en", chs = "chs" }