import type { SqliteDatabase } from '../db/adapter.js'; export interface ImportOptions { input: string; dryRun?: boolean; workspace?: string; } export interface ImportResult { count: number; imported: number; duplicates: number; dryRun: boolean; workspace: string | null; } export interface ImportDependencies { afterInputPlanned?: (filePath: string) => Promise | void; afterInputBound?: (filePath: string) => Promise | void; afterInputRead?: (filePath: string) => Promise | void; } export declare const WORKSPACE_ARCHIVE_MAX_BYTES: number; export declare const WORKSPACE_ARCHIVE_MAX_LINES = 10000; export declare const WORKSPACE_ARCHIVE_MAX_LINE_BYTES: number; export declare function validateWorkspaceArchiveByteLayout(bytes: Uint8Array): void; export declare function importWorkspace(database: SqliteDatabase | undefined, options: ImportOptions, dependencies?: ImportDependencies): Promise; //# sourceMappingURL=import.d.ts.map