import type { RequestContext } from '../../di/index.js'; import type { PubSub } from '../../events/pubsub.js'; import type { ObservabilityContext } from '../../observability/index.js'; import type { DefaultExecutionEngine } from '../default.js'; import type { ExecuteFunction } from '../step.js'; import type { DefaultEngineType, ExecutionContext, OutputWriter, SerializedStepFlowEntry, StepFlowEntry, StepResult } from '../types.js'; export interface ExecuteSleepParams extends ObservabilityContext { workflowId: string; runId: string; serializedStepGraph: SerializedStepFlowEntry[]; entry: { type: 'sleep'; id: string; duration?: number; fn?: ExecuteFunction; }; prevStep: StepFlowEntry; prevOutput: any; stepResults: Record>; resume?: { steps: string[]; stepResults: Record>; resumePayload: any; resumePath: number[]; }; executionContext: ExecutionContext; pubsub: PubSub; abortController: AbortController; requestContext: RequestContext; outputWriter?: OutputWriter; } export declare function executeSleep(engine: DefaultExecutionEngine, params: ExecuteSleepParams): Promise; export interface ExecuteSleepUntilParams extends ObservabilityContext { workflowId: string; runId: string; serializedStepGraph: SerializedStepFlowEntry[]; entry: { type: 'sleepUntil'; id: string; date?: Date; fn?: ExecuteFunction; }; prevStep: StepFlowEntry; prevOutput: any; stepResults: Record>; resume?: { steps: string[]; stepResults: Record>; resumePayload: any; resumePath: number[]; }; executionContext: ExecutionContext; pubsub: PubSub; abortController: AbortController; requestContext: RequestContext; outputWriter?: OutputWriter; } export declare function executeSleepUntil(engine: DefaultExecutionEngine, params: ExecuteSleepUntilParams): Promise; //# sourceMappingURL=sleep.d.ts.map