import type { ChunkWithoutID, ContextItem, ContextSubmenuItem, IDE, IndexTag, IndexingProgressUpdate } from "../index.js";
import { MarkCompleteCallback, RefreshIndexResults, type CodebaseIndex } from "./types.js";
export declare class CodeSnippetsCodebaseIndex implements CodebaseIndex {
    private readonly ide;
    artifactId: string;
    constructor(ide: IDE);
    private static _createTables;
    private getQuerySource;
    getSnippetsInFile(filepath: string, contents: string): Promise<(ChunkWithoutID & {
        title: string;
    })[]>;
    update(tag: IndexTag, results: RefreshIndexResults, markComplete: MarkCompleteCallback, repoName: string | undefined): AsyncGenerator<IndexingProgressUpdate, any, unknown>;
    static getForId(id: number): Promise<ContextItem>;
    static getAll(tag: IndexTag): Promise<ContextSubmenuItem[]>;
}
//# sourceMappingURL=CodeSnippetsIndex.d.ts.map