import type { StdbExport, ImportOptions } from '../types'; import type { ManagedConnection } from '../client/connection'; /** * Database import engine */ export declare class DatabaseImporter { private readonly connection; private introspector; private validator; constructor(connection: ManagedConnection); /** * Import database from export file */ import(exportData: StdbExport, options: ImportOptions): Promise; /** * Import a single table */ private importTable; /** * Report validation errors */ private reportValidationErrors; /** * Report progress to callback */ private reportProgress; } /** * Validate import options */ export declare function validateImportOptions(options: ImportOptions): { valid: boolean; errors: string[]; }; /** * Load export data from file */ export declare function loadExportFile(filePath: string): Promise; /** * Batch rows for efficient import */ export declare function batchRows(rows: T[], batchSize?: number): T[][]; //# sourceMappingURL=importer.d.ts.map