export interface RepoSync { name: string; rootHash: string; files?: { path: string; hash: string; }[]; } export interface RepoPath { repo: string; path: string; } export interface Chunk { repo: string; path: string; symbol: string; lang: string; gitSha?: string; lineStart?: number; lineEnd?: number; content: string; fileHash?: string; } export interface SearchResult { repo: string; path: string; symbol: string; lang: string; snippet: string; score: number; lineStart: number | null; lineEnd: number | null; } export declare function sync(repos: RepoSync[]): Promise<{ changed: RepoPath[]; removed: RepoPath[]; }>; export declare function index(chunks: Chunk[], remove?: RepoPath[]): Promise<{ indexed: number; }>; export declare function search(query: string, options?: { repo?: string; lang?: string; limit?: number; }): Promise; //# sourceMappingURL=api.d.ts.map