import { MutagentCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js"; import * as errors from "../models/errors/index.js"; import { MutagentError } from "../models/errors/mutagent-error.js"; import { ResponseValidationError } from "../models/errors/response-validation-error.js"; import { SDKValidationError } from "../models/errors/sdk-validation-error.js"; import * as operations from "../models/operations/index.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Deploy a managed agent package into a slot (agent × Environment) * * @remarks * One operation: verifies the archive, creates or reuses the managed agent (its slug is the package's name), stores the package as the next revision (unchanged content reuses its revision), creates the slot on first deploy, and activates the revision unless `activate` is false. Every refusal happens before anything is written: package name not equal to the slug (422), an inline agent holding the slug (409), required secret bindings (422), a model outside the workspace's Helix Cloud model list (422) or of an LLM provider the workspace lacks (428), an Environment the workspace does not have (404), no configured sandbox provider that can stage a package (422). Deploying an archived agent's slug un-archives it. The authenticated JSON/base64 transport is bounded to 16 MiB. * * If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security. */ export declare function helixAgentDeploymentsDeployHelixAgent(client: MutagentCore, request: operations.DeployHelixAgentRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=helix-agent-deployments-deploy-helix-agent.d.ts.map