/** `FrameworkRouteError.errorCode` when Builder Cloud Agents are not connected. */ export declare const BUILDER_AGENT_NOT_CONNECTED_ERROR_CODE = "builder_agent_not_connected"; export interface BuilderAgentsRunRequest { userMessage: string; branchName?: string; } export interface BuilderAgentsRunReceipt { /** The branch page Builder opened, when its answer included one. */ url: string | null; /** Builder's full answer, passed through unchanged. */ body: Record; } /** * Ask Builder Cloud Agents to start a background code change. Throws * `FrameworkRouteError`; an `errorCode` of * `BUILDER_AGENT_NOT_CONNECTED_ERROR_CODE` means the workspace has no Builder * connection yet. */ export declare function startBuilderAgentsRun(request: BuilderAgentsRunRequest): Promise;