import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const GroupsListInput: Schema.Struct<{
    readonly project_id: Schema.String;
    readonly cursor: Schema.optional<Schema.String>;
    readonly group_type_index: Schema.Number;
    readonly search: Schema.String;
}>;
export type GroupsListInput = typeof GroupsListInput.Type;
export declare const GroupsListOutput: Schema.Struct<{
    readonly next: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly previous: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly results: Schema.optional<Schema.$Array<Schema.Struct<{
        readonly group_type_index: Schema.optional<Schema.Number>;
        readonly group_key: Schema.optional<Schema.String>;
        readonly group_properties: Schema.optional<Schema.Unknown>;
        readonly created_at: Schema.optional<Schema.String>;
    }>>>;
}>;
export type GroupsListOutput = typeof GroupsListOutput.Type;
/**
 * List all groups of a specific group type. You must pass ?group_type_index= in the URL. To get a list of valid group types, call /api/:project_id/groups_types/
 *
 * @param cursor - The pagination cursor value.
 * @param group_type_index - Specify the group type to list
 * @param project_id - Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
 * @param search - Search the group name
 */
export declare const groupsList: import("@distilled.cloud/core/client").OperationMethod<{
    readonly cursor?: string | undefined;
    readonly group_type_index: number;
    readonly project_id: string;
    readonly search: string;
}, {
    readonly next?: string | null | undefined;
    readonly previous?: string | null | undefined;
    readonly results?: readonly {
        readonly created_at?: string | undefined;
        readonly group_key?: string | undefined;
        readonly group_properties?: unknown;
        readonly group_type_index?: number | undefined;
    }[] | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=groupsList.d.ts.map