/** * LiveKit Agents worker launcher. * * Registers a worker with the LiveKit server (Cloud or self-hosted) for the * given agent entry file. LiveKit dispatches one Job per room, each running in * its own process, which provides worker-per-call isolation and horizontal * scaling. Connection settings are resolved from the environment. * * `@livekit/agents` is an optional dependency, imported dynamically. * * See docs/features/livekit-voice-agent.md. */ import type { LiveKitWorkerLaunchOptions } from "../../types/index.js"; export declare function installVoiceWorkerProcessGuards(metricsIntervalMs?: number): void; /** * Launch the LiveKit voice agent worker. * * Call from a small runner script; `agentFile` must point to the file whose * default export is the result of `defineVoiceAgent`. * * ```ts * await startVoiceAgentWorker({ * agentFile: new URL("./voice-agent-entry.js", import.meta.url).pathname, * agentName: "neurolink-voice", * }); * ``` */ export declare function startVoiceAgentWorker(options: LiveKitWorkerLaunchOptions): Promise; export declare function startRealtimeVoiceAgentWorker(options: LiveKitWorkerLaunchOptions): Promise;