ethers.js/lib.commonjs/wordlists/generation/encode-latin.d.ts

25 lines
644 B
TypeScript
Raw Permalink Normal View History

2023-03-03 18:25:07 -07:00
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