2018-07-31 01:59:52 +03:00
|
|
|
export declare function check(wordlist: Wordlist): string;
|
|
|
|
export declare abstract class Wordlist {
|
|
|
|
readonly locale: string;
|
2018-07-24 02:21:42 +03:00
|
|
|
constructor(locale: string);
|
|
|
|
abstract getWord(index: number): string;
|
|
|
|
abstract getWordIndex(word: string): number;
|
|
|
|
split(mnemonic: string): Array<string>;
|
|
|
|
join(words: Array<string>): string;
|
|
|
|
}
|
|
|
|
export declare function register(lang: Wordlist, name?: string): void;
|