import type { GraphResult } from '../types.js'; export interface BuildGraphOptions { /** Maximum number of decisions to explore (default: 10, max permutations = 1024) */ maxDecisions?: number; /** Output file path for Mermaid graph */ outputFile?: string; /** Split camelCase names into words */ splitNamesByWords?: boolean; /** Arguments to pass to the workflow */ workflowArgs?: unknown[]; /** Maximum depth for child workflow recursion */ maxChildDepth?: number; } /** * Build a workflow graph by running the workflow in mocked-execution mode. * * @example * ```typescript * import { buildGraph } from 'temporalio-graphs'; * import { myWorkflow } from './workflows'; * * const result = await buildGraph(myWorkflow, { * workflowArgs: [{ orderId: '123' }], * outputFile: './workflow.graph', * }); * * console.log(result.mermaid); * ``` */ export declare function buildGraph(workflow: (...args: TArgs) => Promise, options?: BuildGraphOptions): Promise; //# sourceMappingURL=api.d.ts.map