/** * atomic-artifact-write — per-target file locks plus temp-file-and-rename writes. * * Owns SARIF and baseline fingerprint JSON exports at the CLI composition root. */ import { type Logger, type StateLockPolicy } from '@opensip-cli/core'; export interface ArtifactWriteContext { readonly policy: StateLockPolicy; readonly logger: Logger; readonly runId?: string; readonly command?: string; readonly cwdBasename?: string; } /** * Write bytes to `targetPath` atomically under a per-target file lock. * Creates parent directories; cleans up temp files on failure. */ export declare function writeArtifactAtomically(targetPath: string, bytes: string, ctx: ArtifactWriteContext): void; //# sourceMappingURL=atomic-artifact-write.d.ts.map