import { CompilerContext } from '../compilerContext.js';
import type { ControlFlowGraph } from '../cfg/types.js';
import type { ServiceRegistry } from '../discovery/serviceDiscovery.js';
import type { StepFunctionCallSite } from '../discovery/callSiteLocator.js';
import { type VariableResolutionBuilder } from '../analysis/variableResolver.js';
import { type PathDialect } from './pathDialect.js';
import type { StateMachineDefinition } from '../../asl/types.js';
/**
 * Build the complete StateMachineDefinition from a CFG.
 */
export declare function buildStateMachine(context: CompilerContext, cfg: ControlFlowGraph, callSite: StepFunctionCallSite, serviceRegistry: ServiceRegistry, variables: VariableResolutionBuilder, dialect?: PathDialect, timeoutSeconds?: number, version?: string, sourceMap?: boolean): StateMachineDefinition;
//# sourceMappingURL=stateBuilder.d.ts.map