2018-07-30 18:59:52 -04:00
|
|
|
export declare function check(wordlist: Wordlist): string;
|
|
|
|
export declare abstract class Wordlist {
|
|
|
|
readonly locale: string;
|
2018-07-23 19:21:42 -04: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;
|