| 123456789101112131415 |
- import { Locale } from '../types/locale';
- /**
- * register a locale
- * @param locale
- * @param localeObj
- */
- export declare function registerLocale(locale: string, localeObj: Locale): void;
- /**
- * get locale of specific language
- * @param lang
- * @returns
- */
- export declare function getLocale(locale: string): {
- get: (key: string | string[], obj?: Record<string, any>) => string;
- };
|