import type { CommandResult } from './types.js'; export type Candidate = { count: number; rule: string; sites: string[]; }; /** Loudest first: the shape worth writing down is the one the tree keeps producing. */ export declare const candidatesOf: (findings: readonly string[]) => Candidate[]; export declare const formatCandidates: (candidates: readonly Candidate[]) => string; export type DiscoverInput = { config?: string; cwd: string; paths?: string[]; unknownFlags?: string[]; }; export declare const DISCOVER_USAGE = "geonosis discover [--config ] [path\u2026] \u2014 runs the config this repo already has over the paths named (the whole tree by default) and prints the rules that fire, loudest first, as fixShape candidates. Writes nothing."; /** Read-only by construction: the scored agent never writes the scoreboard. */ export declare const runDiscover: ({ config, cwd, paths, unknownFlags }: DiscoverInput) => Promise;