/** * Export/Import Manager */ import { ExportOptions, ImportOptions, ImportResult, ExportedModel, ExportedPolicy, ExportedUser, ExportedConfiguration, ExportedWebhook, ExportedTemplate } from './types'; export interface DataSources { models?: { list: () => Promise; get: (id: string) => Promise; create: (data: Partial) => Promise; update: (id: string, data: Partial) => Promise; }; policies?: { list: () => Promise; get: (id: string) => Promise; create: (data: Partial) => Promise; update: (id: string, data: Partial) => Promise; }; users?: { list: () => Promise; get: (id: string) => Promise; create: (data: Partial) => Promise; update: (id: string, data: Partial) => Promise; }; configurations?: { get: () => Promise; update: (data: ExportedConfiguration) => Promise; }; webhooks?: { list: () => Promise; get: (id: string) => Promise; create: (data: Partial) => Promise; update: (id: string, data: Partial) => Promise; }; templates?: { list: () => Promise; get: (id: string) => Promise; create: (data: Partial) => Promise; update: (id: string, data: Partial) => Promise; }; } export declare class ExportImportManager { private dataSources; private version; constructor(dataSources: DataSources); /** * Export data */ export(options?: ExportOptions): Promise; /** * Import data */ import(data: string, options?: ImportOptions): Promise; /** * Validate export data */ private validate; /** * Export models */ private exportModels; /** * Export policies */ private exportPolicies; /** * Export users */ private exportUsers; /** * Export configurations */ private exportConfigurations; /** * Export webhooks */ private exportWebhooks; /** * Export templates */ private exportTemplates; /** * Calculate checksum */ private calculateChecksum; /** * Encrypt data */ private encrypt; /** * Decrypt data */ private decrypt; } //# sourceMappingURL=manager.d.ts.map