import type { ScheduleState, TimerEntry } from '../types.ts'; import type { Engine } from './index.ts'; import type { ReviewOperationCallbacks, SubmitReviewCallbacks } from './reviews.ts'; import type { ScheduledRunStartOptions } from './schedule-run.ts'; import { type RefreshedScheduleState, type ScheduleCallbacks } from './schedules.ts'; export declare function createScheduleCallbacks(engine: Engine): ScheduleCallbacks; export declare function createReviewOperationCallbacks(engine: Engine): ReviewOperationCallbacks; export declare function createSubmitReviewCallbacks(engine: Engine): SubmitReviewCallbacks; export declare function refreshScheduledWorkflowStateForEngine(engine: Engine, state: ScheduleState): Promise; export declare function startScheduledRunForEngine(engine: Engine, state: ScheduleState, options?: ScheduledRunStartOptions): Promise; export declare function applyScheduleOccurrenceForEngine(engine: Engine, state: ScheduleState, occurrence?: number): Promise; export declare function settleBackfillScheduleStateForEngine(engine: Engine, state: ScheduleState): Promise; export declare function handleScheduleTimerForEngine(engine: Engine, entry: TimerEntry): Promise; export declare function handleScheduledWorkflowTerminalForEngine(engine: Engine, workflowId: string): Promise;