import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient";
import { type NormalizedClientOptions } from "../../../../../../BaseClient";
import * as core from "../../../../../../core";
import * as ElevenLabs from "../../../../../index";
import { MembersClient } from "../resources/members/client/Client";
export declare namespace GroupsClient {
    type Options = BaseClientOptions;
    interface RequestOptions extends BaseRequestOptions {
    }
}
export declare class GroupsClient {
    protected readonly _options: NormalizedClientOptions<GroupsClient.Options>;
    protected _members: MembersClient | undefined;
    constructor(options?: GroupsClient.Options);
    get members(): MembersClient;
    /**
     * Get all groups in the workspace
     *
     * @param {GroupsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @throws {@link ElevenLabs.UnprocessableEntityError}
     *
     * @example
     *     await client.workspace.groups.list()
     */
    list(requestOptions?: GroupsClient.RequestOptions): core.HttpResponsePromise<Record<string, ElevenLabs.WorkspaceGroupResponseModel>>;
    private __list;
    /**
     * Searches for user groups in the workspace. Multiple or no groups may be returned.
     *
     * @param {ElevenLabs.workspace.GroupsSearchRequest} request
     * @param {GroupsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @throws {@link ElevenLabs.UnprocessableEntityError}
     *
     * @example
     *     await client.workspace.groups.search({
     *         name: "name"
     *     })
     */
    search(request: ElevenLabs.workspace.GroupsSearchRequest, requestOptions?: GroupsClient.RequestOptions): core.HttpResponsePromise<ElevenLabs.WorkspaceGroupByNameResponseModel[]>;
    private __search;
}
