import type { CSpellSettings, LocaleId } from '@cspell/cspell-types'; import { LanguageId } from './LanguageIds'; export interface TraceResult { word: string; found: boolean; foundWord: string | undefined; forbidden: boolean; noSuggest: boolean; dictName: string; dictSource: string; dictActive: boolean; configSource: string; errors: Error[] | undefined; } export interface TraceOptions { languageId?: LanguageId | LanguageId[]; locale?: LocaleId; ignoreCase?: boolean; allowCompoundWords?: boolean; } export declare function traceWords(words: string[], settings: CSpellSettings, options: TraceOptions | undefined): Promise; export declare function traceWordsAsync(words: Iterable | AsyncIterable, settings: CSpellSettings, options: TraceOptions | undefined): AsyncIterableIterator; //# sourceMappingURL=trace.d.ts.map