@cspell/cspell-tools
Version:
Tools to assist with the development of cSpell
17 lines • 770 B
TypeScript
import type { CompileOptions } from './CompileOptions.js';
export declare function compileWordList(lines: Iterable<string>, destFilename: string, options: CompileOptions): Promise<void>;
declare function removeDuplicates(words: Iterable<string>): Iterable<string>;
export interface TrieOptions {
base?: number | undefined;
trie3?: boolean | undefined;
trie4?: boolean | undefined;
}
export interface CompileTrieOptions extends CompileOptions, TrieOptions {
}
export declare function compileTrie(words: Iterable<string>, destFilename: string, options: CompileTrieOptions): Promise<void>;
export declare const __testing__: {
wordListHeader: string;
removeDuplicates: typeof removeDuplicates;
};
export {};
//# sourceMappingURL=wordListCompiler.d.ts.map