UNPKG

cspell

Version:

A Spelling Checker for Code!

17 lines (16 loc) 1.38 kB
import { a as SuggestionOptions, i as LinterCliOptions, o as TraceOptions, r as LegacyOptions, t as BaseOptions } from "./options-CeDseSxu.js"; import { n as TimedSuggestionsForWordResult, r as InitOptions, t as listDictionaries } from "./index-BObT-HkR.js"; import { CheckTextInfo, FeatureFlags, IncludeExcludeFlag, TraceResult, TraceWordResult } from "cspell-lib"; import { CSpellReporter, RunResult } from "@cspell/cspell-types"; //#region src/application.d.mts type AppError = NodeJS.ErrnoException; declare function lint(fileGlobs: string[], options: LinterCliOptions, reporter?: CSpellReporter): Promise<RunResult>; declare function trace(words: string[], options: TraceOptions): AsyncIterableIterator<TraceWordResult>; type CheckTextResult = CheckTextInfo; declare function checkText(filename: string, options: BaseOptions & LegacyOptions): Promise<CheckTextResult>; declare function suggestions(words: string[], options: SuggestionOptions): AsyncIterable<TimedSuggestionsForWordResult>; declare function createInit(options: InitOptions): Promise<void>; declare function parseApplicationFeatureFlags(flags: string[] | undefined): FeatureFlags; //#endregion export { AppError, CheckTextResult, IncludeExcludeFlag, type TraceResult, checkText, createInit, lint, listDictionaries, parseApplicationFeatureFlags, suggestions, trace }; //# sourceMappingURL=application.d.ts.map