lang-ja.d.ts 785 B

123456789101112131415161718192021222324252627
  1. import { Wordlist } from "./wordlist.js";
  2. /**
  3. * The [[link-bip39-ja]] for [mnemonic phrases](link-bip-39).
  4. *
  5. * @_docloc: api/wordlists
  6. */
  7. export declare class LangJa extends Wordlist {
  8. /**
  9. * Creates a new instance of the Japanese language Wordlist.
  10. *
  11. * This should be unnecessary most of the time as the exported
  12. * [[langJa]] should suffice.
  13. *
  14. * @_ignore:
  15. */
  16. constructor();
  17. getWord(index: number): string;
  18. getWordIndex(word: string): number;
  19. split(phrase: string): Array<string>;
  20. join(words: Array<string>): string;
  21. /**
  22. * Returns a singleton instance of a ``LangJa``, creating it
  23. * if this is the first time being called.
  24. */
  25. static wordlist(): LangJa;
  26. }
  27. //# sourceMappingURL=lang-ja.d.ts.map