export type Candidate = { readonly id: string; readonly output: string; readonly promptLine: string; }; export type CandidatePresentation = { readonly promptLineMaxBytes: number; readonly outputLineMaxBytes: number; }; export declare function parseRgJson(stdout: string, presentation?: CandidatePresentation): readonly Candidate[]; export declare function parseRgJsonLine(line: string, nextId: number, maxCandidates?: number, presentation?: CandidatePresentation): readonly Candidate[]; export declare function orderCandidates(candidates: readonly Candidate[], rankedIds: string): readonly Candidate[]; //# sourceMappingURL=candidates.d.ts.map