import type { SymbolKind } from "../types.js";
export interface CodeClone {
    symbol_a: {
        name: string;
        kind: SymbolKind;
        file: string;
        start_line: number;
        end_line: number;
    };
    symbol_b: {
        name: string;
        kind: SymbolKind;
        file: string;
        start_line: number;
        end_line: number;
    };
    similarity: number;
    shared_lines: number;
}
export interface CloneResult {
    clones: CodeClone[];
    scanned_symbols: number;
    threshold: number;
}
/**
 * Find code clones: pairs of symbols with similar normalized source.
 * Uses hash-based bucketing for O(n) average case instead of O(n²) all-pairs.
 */
export declare function findClones(repo: string, options?: {
    file_pattern?: string | undefined;
    min_similarity?: number | undefined;
    min_lines?: number | undefined;
    include_tests?: boolean | undefined;
}): Promise<CloneResult>;
//# sourceMappingURL=clone-tools.d.ts.map