import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient";
import { type NormalizedClientOptions } from "../../../../../../BaseClient";
import * as core from "../../../../../../core";
import * as ElevenLabs from "../../../../../index";
export declare namespace SecretsClient {
    type Options = BaseClientOptions;
    interface RequestOptions extends BaseRequestOptions {
    }
}
export declare class SecretsClient {
    protected readonly _options: NormalizedClientOptions<SecretsClient.Options>;
    constructor(options?: SecretsClient.Options);
    /**
     * Get all workspace secrets for the user
     *
     * @param {ElevenLabs.conversationalAi.SecretsListRequest} request
     * @param {SecretsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @throws {@link ElevenLabs.UnprocessableEntityError}
     *
     * @example
     *     await client.conversationalAi.secrets.list({
     *         pageSize: 1,
     *         cursor: "cursor"
     *     })
     */
    list(request?: ElevenLabs.conversationalAi.SecretsListRequest, requestOptions?: SecretsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetWorkspaceSecretsResponseModel>;
    private __list;
    /**
     * Create a new secret for the workspace
     *
     * @param {ElevenLabs.conversationalAi.PostWorkspaceSecretRequest} request
     * @param {SecretsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @throws {@link ElevenLabs.UnprocessableEntityError}
     *
     * @example
     *     await client.conversationalAi.secrets.create({
     *         name: "name",
     *         value: "value"
     *     })
     */
    create(request: ElevenLabs.conversationalAi.PostWorkspaceSecretRequest, requestOptions?: SecretsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.PostWorkspaceSecretResponseModel>;
    private __create;
    /**
     * Delete a workspace secret if it's not in use
     *
     * @param {string} secret_id
     * @param {SecretsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @throws {@link ElevenLabs.UnprocessableEntityError}
     *
     * @example
     *     await client.conversationalAi.secrets.delete("secret_id")
     */
    delete(secret_id: string, requestOptions?: SecretsClient.RequestOptions): core.HttpResponsePromise<void>;
    private __delete;
    /**
     * Update an existing secret for the workspace
     *
     * @param {string} secret_id
     * @param {ElevenLabs.conversationalAi.PatchWorkspaceSecretRequest} request
     * @param {SecretsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @throws {@link ElevenLabs.UnprocessableEntityError}
     *
     * @example
     *     await client.conversationalAi.secrets.update("secret_id", {
     *         name: "name",
     *         value: "value"
     *     })
     */
    update(secret_id: string, request: ElevenLabs.conversationalAi.PatchWorkspaceSecretRequest, requestOptions?: SecretsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.PostWorkspaceSecretResponseModel>;
    private __update;
}
