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"; /** * Exchange a platform API key for a sandbox operator token * * @remarks * Trades a platform credential — an API key (`x-api-key: mg_live_…`) or a Better-Auth session cookie — for a short-lived operator token scoped to one workspace. The caller must be able to create resources in that workspace, and a workspace- or organization-restricted key can only mint within its own scope. The minted token is the scoped bearer the other sandbox operations require; this route itself never accepts one. */ export declare function sandboxPostApiSandboxToken(client: MutagentCore, security: operations.PostApiSandboxTokenSecurity, request: operations.PostApiSandboxTokenRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=sandbox-post-api-sandbox-token.d.ts.map