import type { EditorDiagnostic, EditorView } from './contract.js'; /** Every diagnostic of a document, in the editor's own shape. */ export declare function diagnosticsFor(raw: string): readonly EditorDiagnostic[]; /** * The linter a host wires in one line. * * ```ts * linter(openscriptLint) * ``` * * It is synchronous because it is fast enough to be: a finished ninety line * study compiles in a third of a millisecond and the same file with a bracket * left open in about a millisecond, both with a budget in the benchmark suite. * The editor's own linter already debounces, so nothing here does it twice. */ export declare function openscriptLint(view: EditorView): readonly EditorDiagnostic[]; //# sourceMappingURL=lint.d.ts.map