import { type DesignInventory, type HandRoll } from "./inventory.js"; import type { ConformanceOptions, ConformanceResult } from "./conformance-types.js"; import type { ResolvedConfig } from "../types.js"; /** * Read the application and say what it built for itself. * * Returns an empty result rather than throwing when the project has no kit: * with nothing to conform to there is no question to ask, and spending a model * call to be told so would be waste. */ export declare function readConformance(resolved: ResolvedConfig, inv: DesignInventory, repoRoot: string, opts?: ConformanceOptions): Promise; /** * The scan and the skill, merged into one list of hand-rolls. * * The skill outranks the scan on the files it read, in both directions: a * suspicion it refuted is dropped, and a control it found in a file the scan * had cleared is added. What it cannot do is un-file an issue that is already * open. Nothing in lookout closes a finding except a ruling on a claimed fix, * and a conformance sweep is not that; a refuted suspicion that has already * been filed is for a person to adjudicate by-design, with the skill's own * sentence as the reason. */ export declare function mergeHandRolls(scan: HandRoll[], read: ConformanceResult): HandRoll[];