export declare const LINT_CEILINGS_FILE = "lint-ceilings.json"; /** * Per-file upper bounds, keyed by canonical Oxlint rule name, then path relative to the directory * that holds lint-ceilings.json. */ export interface LintCeilings { rules: Record>; version: 1; } /** Validates a parsed lint-ceilings.json and returns it; throws listing every problem. */ export declare function parseLintCeilings(params: { value: unknown; }): LintCeilings; /** * Formats ceilings in the canonical layout: rules and paths sorted, empty rules dropped, and a * blank line between entries so that edits to neighbouring entries don't form one diff hunk. */ export declare function formatLintCeilings(params: { ceilings: LintCeilings; }): string; /** Parses lint-ceilings.json text and reports whether it is in the canonical layout. */ export declare function readLintCeilingsText(params: { text: string; }): { canonical: boolean; ceilings: LintCeilings; }; export declare function compareStrings(left: string, right: string): number;