2019-11-23 15:38:13 +03:00
|
|
|
import { Logger } from "@ethersproject/logger";
|
|
|
|
export declare const logger: Logger;
|
2019-05-15 01:48:48 +03:00
|
|
|
export declare abstract class Wordlist {
|
|
|
|
readonly locale: string;
|
|
|
|
constructor(locale: string);
|
|
|
|
abstract getWord(index: number): string;
|
|
|
|
abstract getWordIndex(word: string): number;
|
|
|
|
split(mnemonic: string): Array<string>;
|
|
|
|
join(words: Array<string>): string;
|
2019-11-23 15:38:13 +03:00
|
|
|
static check(wordlist: Wordlist): string;
|
|
|
|
static register(lang: Wordlist, name?: string): void;
|
2019-05-15 01:48:48 +03:00
|
|
|
}
|
2021-01-19 13:22:54 +03:00
|
|
|
//# sourceMappingURL=wordlist.d.ts.map
|