import { IContinueServerClient } from "../continueServer/interface.js";
import { BranchAndDir, Chunk, EmbeddingsProvider, IndexTag, IndexingProgressUpdate } from "../index.js";
import { CodebaseIndex, IndexResultType, PathAndCacheKey, RefreshIndexResults } from "./types.js";
export declare class LanceDbIndex implements CodebaseIndex {
    private readonly embeddingsProvider;
    private readonly readFile;
    private readonly continueServerClient?;
    get artifactId(): string;
    static MAX_CHUNK_SIZE: number;
    constructor(embeddingsProvider: EmbeddingsProvider, readFile: (filepath: string) => Promise<string>, continueServerClient?: IContinueServerClient | undefined);
    private tableNameForTag;
    private createSqliteCacheTable;
    private computeChunks;
    update(tag: IndexTag, results: RefreshIndexResults, markComplete: (items: PathAndCacheKey[], resultType: IndexResultType) => void, repoName: string | undefined): AsyncGenerator<IndexingProgressUpdate>;
    private _retrieveForTag;
    retrieve(query: string, n: number, tags: BranchAndDir[], filterDirectory: string | undefined): Promise<Chunk[]>;
}
//# sourceMappingURL=LanceDbIndex.d.ts.map