import type { LintError } from '../lint.types.js'; /** * @purpose Validates that every TypeScript / linter disable marker in source is accompanied by a Decision Log reference (`D-\d+`) in the same comment line. * @implements {DisablesCheck} in specs/cli/lint/lint.spec.md * @invariant Marker is counted ONLY when preceded by `//` or `/*` on the same line — string literals containing marker text are not flagged. * @invariant `D-\d+` is searched anywhere on the same line as the marker; multi-line block comments are NOT extended (MVP simplification — see lint.spec.md DisablesCheck DbC). * @invariant Pure function — no I/O, no exceptions. Errors returned in ascending line order. * @param content Source text to validate. * @param filePath File path for error messages. * @returns List of lint errors in line order; empty when every disable carries a `D-\d+` reference or no disables exist. */ export declare function check(content: string, filePath: string): LintError[];