import type { Rng } from "./rng.js"; /** A pool member: a payload plus the score vector/objective the frontier reasons over. * In GEPA, `value` is the full Candidate (ws + scorecard + files), so reflection can * reach the parent's per-input grades and traces. */ export type PoolCandidate = { value: T; inputScores: number[]; objective: number; }; export declare class CandidatePool { private readonly candidates; constructor(candidates: PoolCandidate[]); add(candidate: PoolCandidate): void; size(): number; best(): PoolCandidate; sampleParent(rng: Rng): PoolCandidate; }