import type { ResolvedAuditConfig } from '../config/config.js'; import type { AuditRecord, AuditPhase, AuditOutcome, AuditBlocker } from './types.js'; /** * Create a new audit record builder. */ export declare function createAuditRecord(specSummary: string): AuditRecordBuilder; /** * Write an audit record to disk at the configured path. * Creates the audit directory if needed. */ export declare function writeAuditRecord(root: string, config: ResolvedAuditConfig, record: AuditRecord): string | null; /** * List existing audit records in the audit directory. */ export declare function listAuditRecords(root: string, config: ResolvedAuditConfig): string[]; export declare class AuditRecordBuilder { private readonly startTime; private readonly phases; private outcome; private blocker; private filesChanged; private configOptions; private readonly specSummary; constructor(specSummary: string); addPhase(phase: AuditPhase): this; setOutcome(outcome: AuditOutcome): this; setBlocker(blocker: AuditBlocker): this; setFilesChanged(files: readonly string[]): this; setConfigOptions(options: Record): this; build(): AuditRecord; } //# sourceMappingURL=audit.d.ts.map