ethers.js/wordlists/lang-zh.d.ts

11 lines
330 B
TypeScript

import { Wordlist } from './wordlist';
declare class LangZh extends Wordlist {
constructor(country: string);
getWord(index: number): string;
getWordIndex(word: string): number;
split(mnemonic: string): Array<string>;
}
declare const langZhCn: LangZh;
declare const langZhTw: LangZh;
export { langZhCn, langZhTw };