import type { DatabaseSync } from "node:sqlite"; import type { SessionFileEntry } from "./session-files.js"; type ProgressState = { completed: number; total: number; label?: string; report: (update: { completed: number; total: number; label?: string; }) => void; }; export declare function syncSessionFiles(params: { agentId: string; db: DatabaseSync; needsFullReindex: boolean; progress?: ProgressState; batchEnabled: boolean; concurrency: number; runWithConcurrency: (tasks: Array<() => Promise>, concurrency: number) => Promise; indexFile: (entry: SessionFileEntry) => Promise; vectorTable: string; ftsTable: string; ftsEnabled: boolean; ftsAvailable: boolean; model: string; dirtyFiles: Set; }): Promise; export {};