ethers.js/lib.esm/wordlists/wordlist-owla.d.ts

30 lines
982 B
TypeScript
Raw Normal View History

2022-09-05 23:57:11 +03:00
import { WordlistOwl } from "./wordlist-owl.js";
2022-11-30 23:44:23 +03:00
/**
* An OWL-A format Wordlist extends the OWL format to add an
* overlay onto an OWL format Wordlist to support diacritic
* marks.
*
* This class is generally not useful to most developers as
* it is used mainly internally to keep Wordlists for languages
* based on latin-1 small.
*
* If necessary, there are tools within the ``generation/`` folder
2023-06-02 00:52:58 +03:00
* to create the necessary data.
2022-11-30 23:44:23 +03:00
*/
2022-09-05 23:57:11 +03:00
export declare class WordlistOwlA extends WordlistOwl {
#private;
2023-06-02 00:52:58 +03:00
/**
* Creates a new Wordlist for %%locale%% using the OWLA %%data%%
* and %%accent%% data and validated against the %%checksum%%.
*/
2022-09-05 23:57:11 +03:00
constructor(locale: string, data: string, accent: string, checksum: string);
2023-06-02 00:52:58 +03:00
/**
* The OWLA-encoded accent data.
*/
2022-09-05 23:57:11 +03:00
get _accent(): string;
2023-06-02 00:52:58 +03:00
/**
* Decode all the words for the wordlist.
*/
2022-09-05 23:57:11 +03:00
_decodeWords(): Array<string>;
}
//# sourceMappingURL=wordlist-owla.d.ts.map