/** * Browser-safe wrapper for spawning one persisted Agents Server agent. * * This function proxies requests to the Agents Server `/api/spawn-agent` endpoint. * * @param args Tool payload forwarded to server-side `spawn_agent` tool. * @param agentsServerUrl Optional explicit agents server base URL. * @returns JSON string with structured spawn result. * * @private internal utility for USE SPAWN commitment */ export declare function spawnAgentViaBrowser(args: Record, agentsServerUrl?: string): Promise;