import { type RunCheckOptions } from "../check/batches.js"; import { type CheckOutcome } from "../check/outcome.js"; import { type ResolvedConfig, type Severity, type ShotRecord } from "../types.js"; import { type Parsed } from "../util.js"; export type { CheckOutcome, RunCheckOptions }; export { DEFAULT_MAX_ATTEMPTS } from "../fix/rule.js"; /** * One check, start to finish. * * Returns more than the outcome because two callers need the middle of it: * `verify-fix` re-judges a known set of shots, and the ui narrates them. */ export declare function runCheck(parsed: Parsed, opts?: RunCheckOptions): Promise<{ outcome: CheckOutcome; resolved: ResolvedConfig; shotsById: Map; toJudge: ShotRecord[]; }>; /** The worst-acceptable severity a caller cares about; critical and high by default. */ export declare function autoSeverity(parsed: Parsed): Severity; export declare function check(parsed: Parsed): Promise;