import type { LintError } from '../lint.types.js'; /** * @purpose Streams through the file tracking brace depth and current enclosing entity. * Counts @invariant JSDoc tags and invariant: region comments per entity. * When an entity body closes, checks threshold and emits error if exceeded. * @param content Source text to validate. * @param filePath File path for error messages. * @param maxInvariants Threshold — entities with more invariants trigger an error. * @returns List of lint errors, empty when all entities are within limit. */ export declare function check(content: string, filePath: string, maxInvariants: number): LintError[];