import type { LintError } from '../lint.types.js'; /** * @purpose Detects #region START / #endregion END at class body level. * Regions are allowed only inside method bodies (brace depth >= 2 inside a class) * and at top-level (no enclosing class). Regions at class body level (between * member declarations) are forbidden. * @param content Source text to validate. * @param filePath File path for error messages. * @returns List of lint errors, empty when all regions are correctly placed. */ export declare function check(content: string, filePath: string): LintError[];