import { AgentState, AgentName } from '../types'; export type NodeFunction = (state: AgentState) => Promise; export declare const scannerNode: NodeFunction; export declare const analyzerNode: NodeFunction; export declare const strategistNode: NodeFunction; export declare const writerNode: NodeFunction; export declare const reviewerNode: NodeFunction; export declare const runnerNode: NodeFunction; export declare const securityNode: NodeFunction; export declare const reporterNode: NodeFunction; /** * Determines if the workflow should continue after the reviewer. * If review score is too low, go back to writer for improvements. */ export declare function shouldRewrite(state: AgentState): 'runner' | 'writer'; /** * Determines if the workflow should continue or stop after errors. */ export declare function shouldContinue(state: AgentState): 'continue' | 'stop'; /** * All available nodes mapped by name. */ export declare const nodeMap: Record; //# sourceMappingURL=nodes.d.ts.map