import type { CiReverificationArtifact } from "./ci-reverification-artifact.js"; import type { SourceIdentity } from "./source-identity.js"; import type { VerificationReceipt, VerificationResultStatus, VerificationWorkspaceIdentity } from "./workflow-verification-receipt-types.js"; export type FreshArtifactBinding = { readonly attemptId: string; readonly artifactDigest: string; readonly command: VerificationReceipt["command"]; readonly dirtyWorktreeDigest: string; readonly issuedAt: string; readonly phVersion: string; readonly sourceHead: string; readonly sourceIdentity: SourceIdentity; readonly workspaceIdentity: VerificationWorkspaceIdentity; }; export type FreshLifecycleWriteResult = { readonly attemptPath?: string; readonly diagnosticCode?: string; readonly receiptPath?: string; }; export declare function buildFreshArtifactBinding(artifact: CiReverificationArtifact, artifactPath: string, now: () => number): FreshArtifactBinding | undefined; export declare function writeFreshLifecycleRecords(projectDir: string, binding: FreshArtifactBinding, finishId: string, sessionId: string, status: VerificationResultStatus, testCount: number): FreshLifecycleWriteResult;