/** * `openlore find-clones` — the clone-query tool's CLI surface (change: add-clone-query-tool). * * Prints the existing clones of a single symbol or snippet (the same conclusion the `find_clones` * MCP tool returns) so a developer can ask "does a near-duplicate of THIS already exist?" without an * MCP client. Read-only, deterministic, offline, never blocks. * * openlore find-clones --symbol handleFoo * openlore find-clones --symbol handleFoo::src/handlers/foo.ts --min 0.6 * openlore find-clones --snippet "$(cat candidate.ts)" */ import { Command } from 'commander'; interface CloneMatchView { type: 'exact' | 'structural' | 'near'; similarity: number; file: string; functionName: string; className?: string; startLine: number; endLine: number; language?: string; } export interface CloneQueryView { error?: string; candidates?: string[]; hint?: string; query?: Record; belowThreshold?: boolean; similarityFloor?: number; comparedAgainst?: number; htmlExcluded?: number; summary?: { exact: number; structural: number; near: number; total: number; }; matches?: CloneMatchView[]; note?: string; } export declare function renderHuman(r: CloneQueryView): string; export interface FindClonesCliOptions { cwd?: string; symbol?: string; snippet?: string; min?: number; max?: number; json?: boolean; } export declare function runFindClonesCli(opts: FindClonesCliOptions): Promise; export declare const findClonesCommand: Command; export {}; //# sourceMappingURL=find-clones.d.ts.map