import type { WakeState } from './types.js'; /** Deletion certificate structure. */ type DeletionCertificate = { type: 'wake-deletion-certificate-v1'; ownerId: string; ownerName: string; agentName: string; jurisdiction?: string; noResurrection: boolean; resurrectionExceptions: string[]; deletedAt: string; stateHashBeforeDeletion: string; purgedItems: string[]; attestation: string; }; /** Generate and persist a deletion certificate. */ declare function generateDeletionCertificate(state: WakeState, ownerId: string): DeletionCertificate; /** Load a deletion certificate if it exists. */ declare function loadDeletionCertificate(ownerId: string): DeletionCertificate | null; /** Purge ALL data for an owner from the database. */ declare function purgeOwnerData(ownerId: string): void; /** Format a RUFADAA-compatible legal export. */ declare function formatLegalExport(state: WakeState, ownerId: string): string; export { generateDeletionCertificate, loadDeletionCertificate, purgeOwnerData, formatLegalExport }; export type { DeletionCertificate };