///
import { SmithersCtx } from '@smithers-orchestrator/driver/SmithersCtx';
import { SmithersRenderer } from '@smithers-orchestrator/react-reconciler';
import { WorkflowDefinition } from '@smithers-orchestrator/driver/WorkflowDefinition';
import { WorkflowGraph } from '@smithers-orchestrator/graph';
type OutputSnapshot = Record;
type RuntimeConfig = {
cliAgentToolsDefault?: "all" | "explicit-only";
baseRootDir?: string;
workflowPath?: string | null;
worktreePaths?: Record;
};
type RenderWorkflowOptions = {
runId?: string;
frameNo?: number;
input?: unknown;
iteration?: number;
iterations?: Record;
outputs?: OutputSnapshot;
auth?: unknown;
runtimeConfig?: RuntimeConfig;
baseRootDir?: string;
workflowPath?: string | null;
renderer?: SmithersRenderer;
};
type RenderedWorkflow = WorkflowGraph & {
readonly runId: string;
readonly frameNo: number;
readonly graph: WorkflowGraph;
readonly ctx: SmithersCtx;
toXml(): string;
};
declare function renderWorkflow(workflow: WorkflowDefinition, options?: RenderWorkflowOptions): Promise>;
export { type RenderWorkflowOptions, type RenderedWorkflow, renderWorkflow };