import { type SearchSymbolsOptions } from "./search-tools.js";
import type { SearchResult, Reference } from "../types.js";
export interface CrossRepoSymbolResult {
    repo: string;
    results: SearchResult[];
}
export interface CrossRepoRefResult {
    repo: string;
    references: Reference[];
}
export interface CrossRepoSearchResult {
    symbol_results: CrossRepoSymbolResult[];
    total_matches: number;
    repos_searched: number;
    errors: Array<{
        repo: string;
        error: string;
    }>;
}
export interface CrossRepoRefSearchResult {
    ref_results: CrossRepoRefResult[];
    total_references: number;
    repos_searched: number;
    errors: Array<{
        repo: string;
        error: string;
    }>;
}
/**
 * Search symbols across ALL indexed repos (or a filtered subset).
 * Useful for monorepos and microservice architectures.
 */
export declare function crossRepoSearchSymbols(query: string, options?: SearchSymbolsOptions & {
    repo_pattern?: string | undefined;
}): Promise<CrossRepoSearchResult>;
/**
 * Find references to a symbol across ALL indexed repos.
 */
export declare function crossRepoFindReferences(symbolName: string, options?: {
    repo_pattern?: string | undefined;
    file_pattern?: string | undefined;
}): Promise<CrossRepoRefSearchResult>;
//# sourceMappingURL=cross-repo-tools.d.ts.map