import type { DatabaseAdapter } from "../db.js";
import type { ClientSurface } from "../sources.js";
interface ImportContext {
    db: DatabaseAdapter;
    clientSurface: Extract<ClientSurface, "vscode" | "vscode_insiders">;
    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 declare function importVsCodeCopilotFile(context: ImportContext, absolutePath: string): Promise<{
    counters: ImportCounters;
    warnings: WarningEntry[];
}>;
export {};
