import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient"; import { type NormalizedClientOptions } from "../../../../BaseClient"; import * as core from "../../../../core"; import * as ElevenLabs from "../../../index"; export declare namespace EnvironmentsClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class EnvironmentsClient { protected readonly _options: NormalizedClientOptions; constructor(options?: EnvironmentsClient.Options); /** * List the workspace environments, including 'production'. * * @param {EnvironmentsClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link ElevenLabs.UnprocessableEntityError} * @throws {@link errors.ElevenLabsError} * @throws {@link errors.ElevenLabsTimeoutError} * * @example * await client.environments.list() */ list(requestOptions?: EnvironmentsClient.RequestOptions): core.HttpResponsePromise; private __list; /** * Create a workspace environment. Variables without a value for it fall back to their production value. * * @param {ElevenLabs.CreateEnvironmentRequest} request * @param {EnvironmentsClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link ElevenLabs.BadRequestError} * @throws {@link ElevenLabs.ConflictError} * @throws {@link ElevenLabs.UnprocessableEntityError} * @throws {@link errors.ElevenLabsError} * @throws {@link errors.ElevenLabsTimeoutError} * * @example * await client.environments.create({ * name: "name" * }) */ create(request: ElevenLabs.CreateEnvironmentRequest, requestOptions?: EnvironmentsClient.RequestOptions): core.HttpResponsePromise; private __create; /** * Delete a workspace environment and remove its values from all environment variables. 'production' cannot be deleted. * * @param {string} environment - Name of the environment to delete, e.g. 'staging'. * @param {EnvironmentsClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link ElevenLabs.BadRequestError} * @throws {@link ElevenLabs.NotFoundError} * @throws {@link ElevenLabs.UnprocessableEntityError} * @throws {@link errors.ElevenLabsError} * @throws {@link errors.ElevenLabsTimeoutError} * * @example * await client.environments.delete("environment") */ delete(environment: string, requestOptions?: EnvironmentsClient.RequestOptions): core.HttpResponsePromise; private __delete; }