type Formatted = number | string | React.JSX.Element; type FormatObject = { [key: string]: U; }; export interface LangMap { [key: string]: string | string[]; } export declare class Lang { protected isDebug: boolean; protected decodedKeys: T; constructor(decodedKeys: T); use(key: keyof T, values?: FormatObject | null | number, mode?: "raw" | "decode", needCount?: boolean): string; protected formatTemplate(template: string, values: FormatObject): string; toggleDebug(): void; } export {};