import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient"; import { type NormalizedClientOptions } from "../../../../BaseClient"; import * as core from "../../../../core"; import * as ElevenLabs from "../../../index"; export declare namespace EnvironmentVariablesClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class EnvironmentVariablesClient { protected readonly _options: NormalizedClientOptions; constructor(options?: EnvironmentVariablesClient.Options); /** * List all environment variables for the workspace with optional filtering * * @param {ElevenLabs.EnvironmentVariablesListRequest} request * @param {EnvironmentVariablesClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link ElevenLabs.BadRequestError} * @throws {@link ElevenLabs.UnprocessableEntityError} * * @example * await client.environmentVariables.list({ * cursor: "cursor", * pageSize: 1, * label: "label", * environment: "environment", * type: "string" * }) */ list(request?: ElevenLabs.EnvironmentVariablesListRequest, requestOptions?: EnvironmentVariablesClient.RequestOptions): core.HttpResponsePromise; private __list; /** * Create a new environment variable for the workspace * * @param {ElevenLabs.EnvironmentVariablesCreateRequestBody} request * @param {EnvironmentVariablesClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link ElevenLabs.BadRequestError} * @throws {@link ElevenLabs.ConflictError} * @throws {@link ElevenLabs.UnprocessableEntityError} * * @example * await client.environmentVariables.create({ * type: "string", * label: "label", * values: { * "key": "value" * } * }) */ create(request: ElevenLabs.EnvironmentVariablesCreateRequestBody, requestOptions?: EnvironmentVariablesClient.RequestOptions): core.HttpResponsePromise; private __create; /** * Get a specific environment variable by ID * * @param {string} env_var_id * @param {EnvironmentVariablesClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link ElevenLabs.NotFoundError} * @throws {@link ElevenLabs.UnprocessableEntityError} * * @example * await client.environmentVariables.get("env_var_id") */ get(env_var_id: string, requestOptions?: EnvironmentVariablesClient.RequestOptions): core.HttpResponsePromise; private __get; /** * Replace an environment variable's values. Use null to remove an environment (except production). * * @param {string} env_var_id * @param {ElevenLabs.UpdateEnvironmentVariableRequest} request * @param {EnvironmentVariablesClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link ElevenLabs.BadRequestError} * @throws {@link ElevenLabs.NotFoundError} * @throws {@link ElevenLabs.UnprocessableEntityError} * * @example * await client.environmentVariables.update("env_var_id", { * values: {} * }) */ update(env_var_id: string, request: ElevenLabs.UpdateEnvironmentVariableRequest, requestOptions?: EnvironmentVariablesClient.RequestOptions): core.HttpResponsePromise; private __update; }