import { type OneShotDestination, type OneShotTerminalReason } from '@xopcai/gateway-contract'; import type { Config } from '../../../config/schema.js'; export interface OneShotStateChange { followUpId: string; taskId: string; conversationId: string; outreachId?: string; destination?: OneShotDestination; terminalReason?: OneShotTerminalReason | null; } export declare function reconcileOneShotForTaskEvent(taskId: string, eventType: string, now?: number): OneShotStateChange[]; export declare function evaluateOneShotWakeups(now: number, deps: { getConfig: () => Config; canReadTask?: (taskId: string, ownerId: string) => boolean; }): OneShotStateChange[]; export declare function publishOneShotOutreach(now: number, deps: { getConfig: () => Config; isConversationAvailable: (conversationId: string) => boolean; notifyPersonalTranscript: (conversationId: string, outreachId: string) => void; onFollowUpUpdated?: (change: OneShotStateChange) => void; onBeforePublishDestination?: (info: { ownerId: string; taskId: string; waitId: string; followUpId: string; outreachId: string; now: number; }) => void; canReadTask?: (taskId: string, ownerId: string) => boolean; }): OneShotStateChange[];