ethers.js/lib.esm/wordlists/lang-ja.d.ts

27 lines
785 B
TypeScript
Raw Normal View History

2022-09-05 23:57:11 +03:00
import { Wordlist } from "./wordlist.js";
2022-11-30 23:44:23 +03:00
/**
2022-12-03 05:27:06 +03:00
* The [[link-bip39-ja]] for [mnemonic phrases](link-bip-39).
2022-11-30 23:44:23 +03:00
*
* @_docloc: api/wordlists
*/
export declare class LangJa extends Wordlist {
/**
* Creates a new instance of the Japanese language Wordlist.
*
* This should be unnecessary most of the time as the exported
* [[langJa]] should suffice.
2022-12-30 19:30:03 +03:00
*
* @_ignore:
2022-11-30 23:44:23 +03:00
*/
2022-09-05 23:57:11 +03:00
constructor();
getWord(index: number): string;
getWordIndex(word: string): number;
2022-11-30 23:44:23 +03:00
split(phrase: string): Array<string>;
2022-09-05 23:57:11 +03:00
join(words: Array<string>): string;
2022-11-30 23:44:23 +03:00
/**
* Returns a singleton instance of a ``LangJa``, creating it
* if this is the first time being called.
*/
static wordlist(): LangJa;
2022-09-05 23:57:11 +03:00
}
//# sourceMappingURL=lang-ja.d.ts.map