import type { DreamWrite } from "./result.js"; /** * Close one dream: record the report, then run the final audit commit. The audit always * runs even when the report cannot be written, and a failed audit is appended to the * report (when it exists) as well as named on stderr, so neither failure hides the other. */ export declare function finishDream(home: string, stamp: string, reportPath: string, failed: boolean, body: string, writes: DreamWrite[]): number;