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 declare function importCodexFile(context: ImportContext, absolutePath: string): Promise<{
    counters: ImportCounters;
    warnings: WarningEntry[];
}>;
export declare function codexStorageValidationNote(): string;
export {};
