UNPKG

cspell-lib

Version:

A library of useful functions used across various cspell tools.

10 lines 503 B
import type { CSpellUserSettings } from '@cspell/cspell-types'; import type { ValidationIssue } from '../Models/ValidationIssue.js'; import type { ValidateTextOptions } from './ValidateTextOptions.js'; export declare const diagSource = "cSpell Checker"; /** * @deprecated * @deprecationMessage Use spellCheckDocument */ export declare function validateText(text: string, settings: CSpellUserSettings, options?: ValidateTextOptions): Promise<ValidationIssue[]>; //# sourceMappingURL=validator.d.ts.map