type ReactFlowJsonObject = { nodes: any[]; edges: any[]; viewport: { x: number; y: number; zoom: number; }; }; export type DSLInterpreterInput = { reactflowJson: ReactFlowJsonObject; }; export type DSLInterpreterOutput = { flowMap: { eventName: string; workflowType: string; flowDefaultInput: any; flowConfig: any; flowPrompt: string; flowOutputConditions: string[]; edgeConditions: { targetNodeId: string; condition: string; }[]; }[]; }; export declare function dslInterpreter({ reactflowJson }: DSLInterpreterInput): Promise; export declare const getFlow: ({ flowMap, name }: { flowMap: DSLInterpreterOutput["flowMap"]; name: string; }) => { eventName: string; workflowType: string; flowDefaultInput: any; flowConfig: any; flowPrompt: string; flowOutputConditions: string[]; edgeConditions: { targetNodeId: string; condition: string; }[]; }; export type NextEventInput = { flow: DSLInterpreterOutput["flowMap"][0]; childOutput: any; }; export type NextEventOutput = { eventName: string; }; export declare const nextEvent: ({ flow, childOutput }: NextEventInput) => NextEventOutput; export {};