import { type Rng } from "./rng.js"; export type Scored = { item: T; scores: number[]; }; /** Candidates that achieve the best score on at least one input, with their win counts. * GEPA's "best on ≥1 input" frontier — NOT full multi-objective dominance. */ export declare function paretoFrontier(pool: Scored[]): { item: T; wins: number; }[]; /** Sample a frontier member weighted by how many inputs it wins. */ export declare function sampleFrontier(pool: Scored[], rng: Rng): T;