import type { WorkflowGraph } from '../types'; import type { ParsedWorkflow } from './workflowParser'; export declare function buildGraph(workflow: ParsedWorkflow): WorkflowGraph; export declare function getReachableNodes(graph: WorkflowGraph, startNode: string, direction: 'forward' | 'backward'): Set; export declare function findAllPaths(graph: WorkflowGraph, source: string, target: string, maxPaths?: number, maxDepth?: number): string[][]; export declare function getShortestPath(graph: WorkflowGraph, source: string, target: string): string[] | null;