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