import type { DatabaseSync } from 'node:sqlite'; import type { FileMeta, Symbol as IndexSymbol, Ref, SymbolLang } from './schema.js'; export declare function commitBatchWithStatement(stmtFn: (sql: string) => ReturnType, maxSqlVars: number, ftsAvailable: boolean, vectorsAvailable: boolean, allocateSymbolIds: (count: number) => number, invalidateIncomingRefsForFiles: (files: readonly string[]) => Set, resolveRefsForNamesUnsafe: (names: Iterable) => number, entries: Array<{ file: string; lang: SymbolLang; symbols: IndexSymbol[]; refs: Ref[]; mtimeMs: number; symbolCount: number; contentHash?: string | undefined; }>, options?: { deleteForFiles?: string[] | undefined; }): IndexSymbol[]; export declare function replaceEmptyFileWithStatement(stmtFn: (sql: string) => ReturnType, ftsAvailable: boolean, vectorsAvailable: boolean, invalidateIncomingRefsForFiles: (files: readonly string[]) => Set, resolveRefsForNamesUnsafe: (names: Iterable) => number, meta: FileMeta): void; export declare function insertSymbolsWithStatement(stmtFn: (sql: string) => ReturnType, maxSqlVars: number, ftsAvailable: boolean, vectorsAvailable: boolean, allocateSymbolIds: (count: number) => number, symbols: IndexSymbol[]): IndexSymbol[]; export declare function deleteSymbolsForFileWithStatement(stmtFn: (sql: string) => ReturnType, ftsAvailable: boolean, vectorsAvailable: boolean, invalidateIncomingRefsForFiles: (files: readonly string[]) => Set, resolveRefsForNamesUnsafe: (names: Iterable) => number, file: string): void; export declare function deleteFileWithStatement(stmtFn: (sql: string) => ReturnType, ftsAvailable: boolean, vectorsAvailable: boolean, invalidateIncomingRefsForFiles: (files: readonly string[]) => Set, resolveRefsForNamesUnsafe: (names: Iterable) => number, file: string): void; export declare function upsertFileWithStatement(stmtFn: (sql: string) => ReturnType, meta: FileMeta): void; export declare function setFilePackagesWithStatement(stmtFn: (sql: string) => ReturnType, entries: ReadonlyMap): void; //# sourceMappingURL=writer-mutations.d.ts.map