import { EmbeddingProvider } from './EmbeddingProvider';
import { VectorStore } from './VectorStore';
export interface RetrieveOptions {
    topK?: number;
    file?: string;
    language?: string;
}
export interface RetrievedChunk {
    /** "file:start-end" — drop-in citation form. */
    ref: string;
    file: string;
    startLine: number;
    endLine: number;
    content: string;
    language?: string;
    score: number;
}
export declare class Retriever {
    private readonly embed;
    private readonly store;
    constructor(embed: EmbeddingProvider, store: VectorStore);
    retrieve(query: string, opts?: RetrieveOptions): Promise<RetrievedChunk[]>;
}
