import type { JournalScan } from '../audit-journal/journal.mts'; import { type JournalAuditOptions, type JournalAuditReport } from './feedback-journal-audit.mts'; export type AuditSourceInput = { journal?: JournalAuditOptions; }; export type AuditReport = JournalAuditReport; /** What the audit sections read from outside, loaded once and rendered as often as needed. */ export type AuditInputs = { kind: 'journal'; scanned: JournalScan; } | { kind: 'none'; }; export declare function loadAuditInputs(sessionId: string, input: AuditSourceInput): Promise; /** Builds the CI-failure and sandbox sections from loaded inputs, with no further I/O. */ export declare function renderAuditReport(input: AuditSourceInput, inputs: AuditInputs): AuditReport; /** Only a complete, untruncated journal scan counts as assessed. */ export declare function auditAssessed({ coverage }: AuditReport): boolean; export declare function completeCoverageError(input: AuditSourceInput): Error;