import type { WorkspaceScope } from "@agentxm/extension-model/unstable/workspace-scope"; import type { FindingCounts } from "@agentxm/workspace/linting"; import type { LintHumanFinding } from "./human-findings.js"; import type { VerbosityLevel } from "../../cli-flags/index.js"; import type { Doc } from "../../screen/index.js"; /** * A rule reported at this many locations folds into one row with a location * count; `--verbose` lists every location instead. */ export declare const FOLD_THRESHOLD = 3; export interface LintViewInput { /** What remains after the run, errors first. */ readonly findings: ReadonlyArray; /** What `--fix` repaired. */ readonly repaired: ReadonlyArray; readonly counts: FindingCounts; /** Rules the registry still blocks publish on although local configuration weakens them. */ readonly driftBanner: ReadonlyArray; readonly fix: boolean; readonly scope: WorkspaceScope; readonly exitCode: number; readonly verbosity: VerbosityLevel; } /** * `axm lint` as a ledger: one row per finding — what is wrong, where, and * whether `--fix` repairs it — with the rule and what it says on a dim line * beneath, errors first. A rule that repeats folds into one row with a * location count. `--fix` puts what it fixed in the same ledger as ordinary * fixed rows, above what remains. The verdict carries the counts, how many * are fixable, and the exit code when the run fails. */ export declare const lintDoc: (input: LintViewInput) => Doc; //# sourceMappingURL=view.d.ts.map