/** * Shared filesystem writes for Manifest CLI `--dry-run`. * * When dryRun is true: log what would be written and skip disk mutation. * When false: write for real (mkdir parents as needed). */ export interface DryRunWriteOptions { dryRun?: boolean; /** Override cwd used for relative path display (default: process.cwd()). */ cwd?: string; } export declare function logWouldWrite(absPath: string, bytes: number, cwd?: string): void; export declare function logWouldMkdir(absPath: string, cwd?: string): void; export declare function logWouldApply(summary: string): void; /** Reject combining --dry-run with --check (different jobs). */ export declare function assertDryRunCheckExclusive(options: { dryRun?: boolean; check?: boolean; }): void; export declare function ensureDir(dirPath: string, options?: DryRunWriteOptions): Promise; export declare function writeTextFile(filePath: string, content: string, options?: DryRunWriteOptions): Promise; export declare function writeBinaryFile(filePath: string, content: Buffer | Uint8Array, options?: DryRunWriteOptions): Promise; /** Sync variant for commands that still use writeFileSync (e.g. db-init --out). */ export declare function writeTextFileSync(filePath: string, content: string, options?: DryRunWriteOptions): void; //# sourceMappingURL=dry-run-fs.d.ts.map