1 | /**
|
2 | * Created by hustcc on 18/5/20.
|
3 | * Contract: i@hust.cc
|
4 | */
|
5 | import { LocaleFunc } from './interface';
|
6 | /**
|
7 | * register a locale
|
8 | * @param locale
|
9 | * @param func
|
10 | */
|
11 | export declare const register: (locale: string, func: LocaleFunc) => void;
|
12 | /**
|
13 | * get a locale, default is en_US
|
14 | * @param locale
|
15 | * @returns {*}
|
16 | */
|
17 | export declare const getLocale: (locale: string) => LocaleFunc;
|