export { Flow, Step, JsonRpcRequest } from './types'; export { FlowExecutor, FlowExecutorOptions, DEFAULT_RETRY_POLICY } from './flow-executor'; export { SafeExpressionEvaluator } from './expression-evaluator/safe-evaluator'; export { ReferenceResolver, ReferenceResolverError, UnknownReferenceError, InvalidReferenceError, ReferenceResolutionError, CircularReferenceError, } from './reference-resolver'; export { PathAccessor, PathAccessorError, PathSyntaxError, PropertyAccessError, InvalidPathError, } from './path-accessor'; export { DependencyResolver, DependencyResolverError, StepNotFoundError, UnknownDependencyError, CircularDependencyError, } from './dependency-resolver'; export { FlowExecutorEvents, FlowEventType, FlowEvent, FlowStartEvent, FlowCompleteEvent, FlowErrorEvent, StepStartEvent, StepCompleteEvent, StepErrorEvent, StepSkipEvent, DependencyResolvedEvent, FlowEventOptions, } from './util/flow-executor-events'; export { FlowError, ExecutionError, ValidationError, StateError } from './errors/base'; export { ErrorCode, ErrorCategory } from './errors/codes'; export { RetryPolicy, RetryableOperation } from './errors/recovery'; export declare const metaSchema: { $schema: string; title: string; description: string; type: string; properties: { name: { type: string; description: string; }; description: { type: string; description: string; }; policies: { type: string; description: string; properties: { global: { $ref: string; }; step: { $ref: string; }; }; }; context: { type: string; description: string; additionalProperties: boolean; }; steps: { type: string; description: string; items: { $ref: string; }; minItems: number; }; }; definitions: { Step: { type: string; description: string; required: string[]; properties: { name: { type: string; description: string; pattern: string; }; policies: { $ref: string; }; }; oneOf: { $ref: string; }[]; }; Policies: { type: string; description: string; properties: { retryPolicy: { type: string; description: string; properties: { maxAttempts: { type: string; description: string; default: number; minimum: number; maximum: number; }; backoff: { type: string; description: string; properties: { strategy: { type: string; description: string; default: string; enum: string[]; }; initial: { type: string; description: string; }; multiplier: { type: string; description: string; }; maxDelay: { type: string; description: string; default: number; minimum: number; maximum: number; }; }; }; retryableErrors: { type: string; description: string; items: { type: string; enum: string[]; }; }; }; }; timeout: { type: string; description: string; properties: { timeout: { type: string; description: string; default: number; minimum: number; maximum: number; }; expressionEval: { type: string; description: string; default: number; minimum: number; maximum: number; }; }; }; }; }; RequestStep: { type: string; description: string; required: string[]; properties: { request: { type: string; required: string[]; properties: { method: { type: string; description: string; }; params: { type: string; description: string; additionalProperties: boolean; }; }; }; }; }; TransformStep: { type: string; description: string; required: string[]; properties: { transform: { type: string; required: string[]; properties: { input: { oneOf: ({ type: string; description: string; items?: undefined; } | { type: string; description: string; items: {}; })[]; }; operations: { type: string; description: string; items: { type: string; required: string[]; properties: { type: { type: string; enum: string[]; description: string; }; using: { type: string; description: string; }; as: { type: string; description: string; }; initial: { description: string; }; }; }; minItems: number; }; }; }; }; }; LoopStep: { type: string; description: string; required: string[]; properties: { loop: { type: string; required: string[]; properties: { over: { type: string; description: string; }; as: { type: string; description: string; pattern: string; }; condition: { type: string; description: string; }; maxIterations: { type: string; description: string; }; step: { $ref: string; description: string; }; steps: { type: string; description: string; items: { $ref: string; }; }; }; }; }; }; ConditionStep: { type: string; description: string; required: string[]; properties: { condition: { type: string; required: string[]; properties: { if: { type: string; description: string; }; then: { $ref: string; description: string; }; else: { $ref: string; description: string; }; }; }; }; }; StopStep: { type: string; description: string; required: string[]; properties: { name: { type: string; description: string; pattern: string; }; stop: { type: string; required: string[]; properties: { endWorkflow: { type: string; description: string; default: boolean; }; }; }; }; }; }; };