import type { DagNode, DagState, Decision, JudgeContext } from "./dag.js"; import type { Transcript } from "../types.js"; export declare function agentText(t: Transcript): string; export declare function transcriptText(t: Transcript): string; export declare function leaf(id: string, label: string, decision: Decision): DagNode; export declare function rule(id: string, label: string, predicate: (state: DagState, ctx: JudgeContext) => boolean, branches: { whenTrue: string; whenFalse: string; }): DagNode; export declare function extract(id: string, label: string, extractor: (ctx: JudgeContext, state: DagState) => Promise<{ patch: T; outcome: string; evidence?: string[]; }>, next: string): DagNode; export declare function binaryLlm(id: string, label: string, question: string, getData: (ctx: JudgeContext) => string, branches: { whenYes: string; whenNo: string; }, stateKey?: string): DagNode;