/** * Data Export Tool * * Exports all user data in machine-readable format. * Implements GDPR Article 20 (Right to Data Portability). * * Added by Pantheon Security for enterprise compliance support. */ import type { DataExport, ExportOptions } from "./types.js"; /** * Data Exporter class */ export declare class DataExporter { private static instance; private constructor(); /** * Get singleton instance */ static getInstance(): DataExporter; /** * Export all user data */ exportAll(options?: Partial): Promise; /** * Export consent records */ private exportConsents; /** * Export notebook library */ private exportNotebooks; /** * Export user settings */ private exportSettings; /** * Export session history (if retained) */ private exportSessions; /** * Export audit logs */ private exportAuditLogs; /** * Export compliance events */ private exportComplianceEvents; /** * Build inventory summary from exported data */ private buildInventorySummary; /** * Export to file */ exportToFile(outputPath: string, options?: Partial): Promise<{ success: boolean; path: string; checksum: string; }>; /** * Export to string */ exportToString(options?: Partial): Promise; } /** * Get the data exporter instance */ export declare function getDataExporter(): DataExporter; /** * Export all user data */ export declare function exportUserData(options?: Partial): Promise; /** * Export user data to file */ export declare function exportUserDataToFile(outputPath: string, options?: Partial): Promise<{ success: boolean; path: string; checksum: string; }>; /** * Export user data to string */ export declare function exportUserDataToString(options?: Partial): Promise;