import { type OutboundCallEvent, type OutboundCallTerminal } from '../support/OutboundCallWatcher'; export { getOutboundCallStatus } from './outboundCallStatus'; export type { OutboundCallEvent, OutboundCallTerminal }; export declare const DEFAULT_OUTBOUND_CALL_TARGET_TYPES: readonly ["merchant", "vendor", "carrier", "driver", "technician", "billing_team", "fraud_team", "external_partner"]; export type OutboundCallUrgency = 'normal' | 'urgent'; export type OutboundCallRequest = { targetType: string; targetId: string; reason: string; callGoal: string; contextSummary: string; urgency?: OutboundCallUrgency; linkedEscalationTicketId?: string; linkedReportedIssueId?: string; }; export type StartOutboundCallResult = { ok: boolean; callId?: string; status?: string; targetDisplayName?: string; message?: string; error?: string; }; export type OutboundCallConfig = { /** Default: true when analyticsKey is present. */ enabled?: boolean; /** Optional MobileAI-compatible backend root. Defaults to https://mobileai.cloud. */ proxyUrl?: string; /** Optional extra headers sent to the outbound-call endpoint. */ headers?: Record; /** Optional client-side target allowlist. Backend remains the source of truth. */ allowedTargetTypes?: string[]; /** * Optional live event callback. Fires for each transcript line, status change, * tool call, and the terminal completion. Useful to surface real-time call * progress in the host UI while the agent is blocked on the tool result. */ onCallEvent?: (event: OutboundCallEvent) => void; /** Hard cap on watcher wait time. Default 30 min (matches max call duration). */ watcherTimeoutMs?: number; }; export declare function watchOutboundCall(params: { callId: string; analyticsKey: string; proxyUrl?: string; timeoutMs?: number; onEvent?: (event: OutboundCallEvent) => void; }): { promise: Promise; close: () => void; }; export declare function startOutboundAiCall(params: { analyticsKey: string; request: OutboundCallRequest; config?: OutboundCallConfig; currentScreen?: string; userContext?: Record; }): Promise; //# sourceMappingURL=OutboundCallService.d.ts.map