import type { PermissionMode } from '../../models/types.js'; import type { LiveInterventionChannel, PreparedLiveInterventionDelivery } from './types.js'; export interface LiveInterventionDeliveryCommitter { readonly onDispatch: (permissionMode: PermissionMode | undefined) => void; settle(): Promise; } /** * Couples one prepared delivery to the provider dispatch boundary. * A provider failure after dispatch still settles the delivery, while a failure * before the callback leaves the IDs pending in the canonical channel. */ export declare function createLiveInterventionDeliveryCommitter(channel: LiveInterventionChannel | undefined, delivery: PreparedLiveInterventionDelivery | undefined, priorOnDispatch?: (permissionMode: PermissionMode | undefined) => void): LiveInterventionDeliveryCommitter | undefined; /** * Gives an isolated workflow_call the parent delivery without giving it * ownership of the canonical instruction ledger. */ export declare function createScopedLiveInterventionChannel(parent: LiveInterventionChannel, delivery: PreparedLiveInterventionDelivery, parentCommitter: LiveInterventionDeliveryCommitter): LiveInterventionChannel; //# sourceMappingURL=delivery.d.ts.map