/** * Mock call data generation for swaig-test CLI. */ /** Options for generating mock call data in CLI testing. */ export interface MockCallOptions { /** Call transport type. */ callType?: 'sip' | 'webrtc'; /** Direction of the call. */ callDirection?: 'inbound' | 'outbound'; /** Current call state (e.g. "active", "ringing", "hold"). */ callState?: string; /** Override the auto-generated call ID. */ callId?: string; /** Caller's phone number. */ fromNumber?: string; /** Destination extension or agent name. */ toExtension?: string; /** Additional key-value overrides merged into the post data. */ overrides?: Record; } /** * Generate a full mock POST body simulating an inbound SignalWire call request. * @param opts - Optional overrides for call metadata fields. * @returns A record representing the simulated call POST data. */ export declare function generateFakePostData(opts?: MockCallOptions): Record; /** * Generate a minimal mock POST body for executing a single SWAIG function. * @param fnName - Name of the SWAIG function to invoke. * @param args - Arguments to pass to the function. * @param opts - Optional call ID and field overrides. * @returns A record representing the minimal POST data for function execution. */ export declare function generateMinimalPostData(fnName: string, args?: Record, opts?: { callId?: string; overrides?: Record; }): Record;