import type { LiveKitSessionMetadata } from './metadata.js'; import type { LiveKitRecordingOptions } from './recording.js'; export interface DispatchVoiceSessionOptions { /** * Room to dispatch the agent into (created on demand). With recording enabled, use a unique * name for each call. An existing room throws LiveKitRecordingRoomConflictError. */ roomName: string; /** Must match the worker's `agentName`. Defaults to `'mastra-voice'`. */ agentName?: string; metadata?: LiveKitSessionMetadata; /** Create a fresh room with automatic recording before dispatch. Omit to keep dispatch-only behavior. */ recording?: LiveKitRecordingOptions; /** Defaults to `LIVEKIT_URL`. */ serverUrl?: string; /** Defaults to `LIVEKIT_API_KEY`. */ apiKey?: string; /** Defaults to `LIVEKIT_API_SECRET`. */ apiSecret?: string; } /** * Programmatically dispatches a Mastra voice agent into a LiveKit room — for * server-initiated sessions such as outbound calls or joining an existing room. */ export declare function dispatchVoiceSession(options: DispatchVoiceSessionOptions): Promise; //# sourceMappingURL=dispatch.d.ts.map