import { type DecisionGraph, type GraphPlan } from './graph.js'; type NodeConfig = Omit; type Budget = DecisionGraph['budget']; interface TemplateBase { id: string; budget: Budget; resolvedPins: ReadonlySet; } export interface DecisionGraphTemplate { graph: DecisionGraph; plan: GraphPlan; } /** Entry obtains an explicit shortlist; only its declared candidates reach reranking. * The host projector must set `has-candidates` from the shortlist it projects: when it * is false, reranking never runs and the graph outcome is `empty-shortlist`. */ export declare function shortlistRerankTemplate(base: TemplateBase & { shortlist: NodeConfig; rerank: NodeConfig; }): DecisionGraphTemplate; /** Fixed, caller-authored taxonomy candidates fan out; no model may create new nodes. */ export declare function taxonomyBeamTemplate(base: TemplateBase & { taxonomy: NodeConfig; branches: Array<{ id: string; config: NodeConfig; }>; select: NodeConfig; /** Opt-in guarded detail stage, one fixed child per declared branch. Selector runs locally. */ details?: NodeConfig; }): DecisionGraphTemplate; /** A declared boolean from the verifier controls the ordinary-LLM fallback. * If false, verifier is terminal; if true, the fallback result supersedes it. */ export declare function extractorVerifierFallbackTemplate(base: TemplateBase & { extractor: NodeConfig; verifier: NodeConfig; fallback: NodeConfig; }): DecisionGraphTemplate; export {}; //# sourceMappingURL=graph-templates.d.ts.map