import { type CaptureRetention, type CaptureVaultPort, type TurnCapturePurgeReceipt, type TurnCaptureRecord, type TurnCaptureWriteInput, type TurnCaptureWriteResult } from '../ports/capture-vault.js'; import type { KeyringReader } from './gateway-state-store.js'; export type CaptureVaultErrorCode = 'ACCESS-DENIED' | 'CORRUPT' | 'NOT-FOUND' | 'KEY-UNAVAILABLE' | 'STORE-FAILED'; export declare class CaptureVaultError extends Error { readonly code: CaptureVaultErrorCode; constructor(message: string, code: CaptureVaultErrorCode); } export interface FileCaptureVaultOptions { readonly stateDir: string; readonly keyring: KeyringReader; readonly captureEnabled?: boolean; readonly retention?: CaptureRetention; readonly quotaBytes?: number; readonly keyId?: string; readonly dekKeyPrefix?: string; readonly now?: () => number; } export declare class FileCaptureVault implements CaptureVaultPort { readonly enabled: boolean; private readonly dir; private readonly keyring; private readonly retention; private readonly quotaBytes; private readonly keyId; private readonly dekKeyPrefix; private readonly now; constructor(options: FileCaptureVaultOptions); private ensureDir; private dekFor; private auditRead; private totalCaptureBytes; writeTurnCapture(input: TurnCaptureWriteInput): Promise; readTurnCapture(input: { readonly ownerScopeRef: string; readonly captureId: string; }): Promise; purgeExpiredCaptures(nowMs?: number): Promise; } //# sourceMappingURL=file-capture-vault.d.ts.map