ethers.js/lib.commonjs/wordlists/generation/encode-latin.d.ts
2023-04-27 21:19:55 +09:00

25 lines
644 B
TypeScript

export declare class BitWriter {
#private;
readonly width: number;
constructor(width: number);
write(value: number): void;
get length(): number;
get data(): string;
}
export interface AccentSet {
accent: number;
follows: string;
positions: Array<number>;
positionsLength: number;
positionData: string;
positionDataLength: number;
}
export declare function extractAccents(words: Array<string>): {
accents: Array<AccentSet>;
words: Array<string>;
};
export declare function encodeOwl(words: Array<string>): {
subs: string;
data: string;
};
//# sourceMappingURL=encode-latin.d.ts.map