import type { DatabaseAdapter } from "../db.js";
interface ImportContext {
    db: DatabaseAdapter;
    sourceFileId: string;
    machineId: string;
    hmacSalt: string;
}
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;
    details?: Record<string, number | string | boolean>;
}
export interface HookImportLine {
    lineNo: number;
    rawLine: string;
}
export declare function importHookLogLines(context: ImportContext, entries: readonly HookImportLine[]): Promise<{
    counters: ImportCounters;
    warnings: WarningEntry[];
}>;
export {};
