import type { WorkflowTask } from "@stigmer/protos/ai/stigmer/agentic/workflow/v1/spec_pb";
import type { UseWorkflowTopologyReturn } from "./useWorkflowTopology";
/**
 * Builds a DAG topology directly from proto `WorkflowTask[]`.
 *
 * Mirrors the logic in {@link useWorkflowTopology} but operates on
 * typed proto objects instead of parsed YAML, eliminating the need
 * for a round-trip through YAML serialization and re-parsing.
 *
 * Handles sequential flow, explicit `flow.then` directives, and
 * `switch_case` branching edges.
 */
export declare function topologyFromTasks(tasks: readonly WorkflowTask[]): UseWorkflowTopologyReturn;
//# sourceMappingURL=topologyFromTasks.d.ts.map