UNPKG

@cspell/cspell-tools

Version:
9 lines 925 B
import type { FilePath } from '../config/config.js'; import type { AllowedSplitWordsCollection, ExcludeWordsCollection, WordsCollection } from './WordsCollection.js'; export declare function createAllowedSplitWordsFromFiles(files: FilePath | FilePath[] | undefined): Promise<AllowedSplitWordsCollection>; export declare function createAllowedSplitWords(words: Iterable<string> | undefined): AllowedSplitWordsCollection; export declare function createWordsCollectionFromFiles(files: FilePath | FilePath[]): Promise<WordsCollection>; export declare function createWordsCollection(words: Iterable<string>): WordsCollection; export declare function createExcludeWordsCollectionFromFiles(files: FilePath | FilePath[] | undefined): Promise<ExcludeWordsCollection>; export declare function createExcludeWordsCollection(words: Iterable<string> | undefined): ExcludeWordsCollection; //# sourceMappingURL=createWordsCollection.d.ts.map