import type { RepoManifest } from "../types.js"; import type { FileDisposition, CriticalFlowManifest, CriticalFlowFallbackResult, SurfaceManifest } from "audit-tools/shared"; /** * Builds coarse critical-flow coverage from shared path heuristics. These * bootstrap flows are intentionally conservative and should be reviewed when a * repo uses unconventional naming or layout conventions. */ export declare function buildCriticalFlowManifest(repoManifest: RepoManifest, surfaceManifest: SurfaceManifest, disposition?: FileDisposition): CriticalFlowManifest; /** * Upper bound on host-authored fallback flows folded into the manifest — a * mechanical run-safety cap (mirrors the edge-reasoning `MAX_REASONED_EDGES` * bound) so a malformed/oversized host submission can never blow up the manifest. */ export declare const MAX_FALLBACK_FLOWS = 200; /** * Merge a host-authored critical-flow fallback submission into a deterministic * manifest — the enrichment the LLM fallback pass produces when the deterministic * inference marked itself below the confidence bar. Additive and idempotent: * each host flow either UPGRADES an existing flow (same `id`) or ADDS a new one; * the merged set is re-sorted by id (stable content-derived order — a manifest * array must never carry incidental order) and `fallback_required` is recomputed * over the merged flows. Invalid host flows are skipped with a stderr diagnostic * (the manifest never throws on a malformed submission). Structure re-runs this * on every build off the persisted submission, so it must be a pure function of * (deterministic manifest, host submission). */ export declare function mergeCriticalFlowFallback(manifest: CriticalFlowManifest, fallback: CriticalFlowFallbackResult): CriticalFlowManifest; //# sourceMappingURL=flows.d.ts.map