import { type BatchOperation } from '../../storage/interface.ts'; import type { WorkflowHandle } from './handles.ts'; import type { EngineInternals } from './internals.ts'; type ChildCancellationCallbacks = { getHandle: (workflowId: string) => WorkflowHandle; }; export declare function buildChildCancellationOperations(internals: EngineInternals, workflowId: string, childWorkflowId: string): BatchOperation[]; export declare function registerChildCancellationHandler(internals: EngineInternals, workflowId: string, childWorkflowId: string, callbacks: ChildCancellationCallbacks): void; export declare function rehydrateChildCancellationHandlers(internals: EngineInternals, workflowId: string, callbacks: ChildCancellationCallbacks): Promise; export {};