import type { ContextOperationRequest } from '../context.ts'; import type { StartOptions, TimerEntry } from '../types.ts'; import type { EngineInternals } from './internals.ts'; import { type TimeOperationCallbacks } from './time-operation-callbacks.ts'; type SleepOperation = Extract; export type { TimeOperationCallbacks }; export declare function createDelayedStartTimerEntry(_internals: EngineInternals, workflowId: string, scheduledStartAt: number, options: StartOptions | undefined, callbacks: Pick): TimerEntry; export declare function processSleepOperation(internals: EngineInternals, workflowId: string, operation: SleepOperation, callbacks: Pick): Promise; export declare function registerSleepResolver(internals: EngineInternals, workflowId: string, operationId: string, resolve: () => void, scheduledFireAt: number): void; export declare function startDelayedWorkflow(internals: EngineInternals, entry: TimerEntry, callbacks: Pick): Promise; export declare function handleTimerFired(internals: EngineInternals, entry: TimerEntry, callbacks: Pick): Promise;