lix-website/themes/lix/assets/bootstrap/node_modules/cspell-lib/dist/index.d.ts

29 lines
2.2 KiB
TypeScript
Raw Normal View History

2024-04-27 03:39:10 +00:00
import { CSpellUserSettings } from '@cspell/cspell-types';
import * as ExclusionHelper from './exclusionHelper';
import * as Link from './Settings/index.link';
import { SpellingDictionaryCollection } from './SpellingDictionary';
import * as Text from './util/text';
export * from '@cspell/cspell-types';
export * from 'cspell-io';
export { ExcludeFilesGlobMap, ExclusionFunction } from './exclusionHelper';
export { getLanguagesForExt } from './LanguageIds';
export { createTextDocument, updateTextDocument } from './Models/TextDocument';
export type { CreateTextDocumentParams, TextDocument, TextDocumentLine } from './Models/TextDocument';
export * from './Settings';
export { defaultFileName as defaultSettingsFilename } from './Settings';
export { combineTextAndLanguageSettings, combineTextAndLanguageSettings as constructSettingsForText, } from './Settings/TextDocumentSettings';
export { determineFinalDocumentSettings, DetermineFinalDocumentSettingsResult, Document, fileToDocument, isBinaryFile, spellCheckDocument, spellCheckFile, SpellCheckFileOptions, SpellCheckFileResult, } from './spellCheckFile';
export { CompoundWordsMethod, createSpellingDictionary, isSpellingDictionaryLoadError, refreshDictionaryCache, SpellingDictionary, SpellingDictionaryCollection, SpellingDictionaryLoadError, SuggestionCollector, SuggestionResult, SuggestOptions, } from './SpellingDictionary';
export { SuggestionError, suggestionsForWord, suggestionsForWords } from './suggestions';
export type { SuggestedWord, SuggestionOptions, SuggestionsForWordResult } from './suggestions';
export { DocumentValidator, DocumentValidatorOptions } from './textValidation';
export { traceWords, traceWordsAsync } from './trace';
export type { TraceOptions, TraceResult } from './trace';
export { getLogger, Logger, setLogger } from './util/logger';
export { resolveFile } from './util/resolveFile';
export { checkText, CheckTextInfo, IncludeExcludeFlag, IncludeExcludeOptions, TextInfoItem, validateText, ValidationIssue, } from './validator';
export { Text, Link };
export { ExclusionHelper };
export declare function clearCachedFiles(): Promise<void>;
export declare function getDictionary(settings: CSpellUserSettings): Promise<SpellingDictionaryCollection>;
//# sourceMappingURL=index.d.ts.map