import type { DatabaseAdapter } from "../db.js";
interface ImportCounters {
    sessions_upserted: number;
    messages_upserted: number;
    runtime_events_upserted: number;
}
interface WarningEntry {
    code: string;
    message_code: string;
    severity: "warning" | "error";
    source_file_id?: string;
}
export declare function importClaudeCodeFile(context: {
    db: DatabaseAdapter;
    sourceFileId: string;
    machineId: string;
    hmacSalt: string;
}, absolutePath: string): Promise<{
    counters: ImportCounters;
    warnings: WarningEntry[];
}>;
export declare function importClaudeDesktopFile(context: {
    sourceFileId: string;
}): Promise<{
    counters: ImportCounters;
    warnings: WarningEntry[];
}>;
export {};
