export interface UserDataExport {
    user: Record<string, unknown>;
    documents: Record<string, unknown>[];
    media: Record<string, unknown>[];
    auditLogs: Record<string, unknown>[];
    sessions: Record<string, unknown>[];
    exportedAt: string;
}
export interface RetentionPolicy {
    collection: string;
    maxAgeDays: number;
    action: 'delete' | 'anonymize' | 'archive';
}
export interface ErasureResult {
    deletedDocuments: number;
    anonymizedRecords: number;
    deletedMedia: number;
    deletedSessions: number;
}
/** Export all data associated with a user (GDPR Article 20 - Right to Data Portability). */
export declare function exportUserData(_userId: string, _db: unknown): Promise<UserDataExport>;
/** Erase all personal data for a user (GDPR Article 17 - Right to Erasure). */
export declare function eraseUserData(_userId: string, _db: unknown): Promise<ErasureResult>;
/** Apply retention policies to documents past their retention period. */
export declare function applyRetentionPolicies(_policies: RetentionPolicy[], _db: unknown): Promise<{
    processed: number;
    actions: Array<{
        collection: string;
        count: number;
        action: string;
    }>;
}>;
//# sourceMappingURL=index.d.ts.map