1 | import { FormatType, Localization } from './i18n/localization';
|
2 | export declare namespace nls {
|
3 | let localization: Localization | undefined;
|
4 | const defaultLocale = "en";
|
5 | const localeId = "localeId";
|
6 | const locale: string | undefined;
|
7 | |
8 |
|
9 |
|
10 | function localizeByDefault(defaultValue: string, ...args: FormatType[]): string;
|
11 | function getDefaultKey(defaultValue: string): string;
|
12 | function localize(key: string, defaultValue: string, ...args: FormatType[]): string;
|
13 | function isSelectedLocale(id: string): boolean;
|
14 | function setLocale(id: string): void;
|
15 | }
|
16 |
|
\ | No newline at end of file |