import type { MaskedCapturePayload } from './guards.js'; export declare const TEN_JULIAN_YEAR_MS = 315576000000; export declare const DEFAULT_CAPTURE_RETENTION_MS = 2592000000; export declare const DEFAULT_CAPTURE_ENABLED = false; export declare const DEFAULT_WORKSTATION_CAPTURE_QUOTA_BYTES: number; export type CaptureRetention = { readonly kind: 'none'; } | { readonly kind: 'finite'; readonly durationMs: number; }; /** Pure retention deadline helper mirroring @sentropic/cluster-mesh without importing it (DM6). */ export declare const computeCaptureRetentionDeadline: (retention: CaptureRetention, firstAdmissionAt: number) => number | null; export interface TurnCaptureWriteInput { readonly captureId?: string; readonly stageId: string; readonly ownerScopeRef: string; readonly requestId: string; readonly wire: string; readonly model: string; readonly requestCapture: MaskedCapturePayload; readonly responseCapture: MaskedCapturePayload; readonly createdAtMs?: number; readonly truncated?: boolean; readonly integrity?: string; } export interface TurnCaptureRecord { readonly captureId: string; readonly stageId: string; readonly ownerScopeRef: string; readonly requestId: string; readonly wire: string; readonly model: string; readonly keyId: string; readonly createdAtMs: number; readonly expiresAtMs: number | null; readonly requestCapture: MaskedCapturePayload; readonly responseCapture: MaskedCapturePayload; readonly truncated: boolean; readonly integrity?: string; } export interface TurnCaptureWriteResult { readonly stored: boolean; readonly captureId?: string; readonly reason?: 'capture_disabled' | 'capture_quota_exceeded'; readonly bytesStored?: number; readonly expiresAtMs?: number | null; } export interface TurnCapturePurgeReceipt { readonly purgedAtIso: string; readonly purgedCount: number; readonly freedBytes: number; readonly purgedCaptureIds: readonly string[]; } export interface CaptureVaultPort { readonly enabled: boolean; writeTurnCapture(input: TurnCaptureWriteInput): Promise; readTurnCapture(input: { readonly ownerScopeRef: string; readonly captureId: string; }): Promise; purgeExpiredCaptures(nowMs?: number): Promise; } //# sourceMappingURL=capture-vault.d.ts.map