import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const RolesListInput: Schema.Struct<{
    readonly organization_id: Schema.String;
    readonly limit: Schema.optional<Schema.Number>;
    readonly offset: Schema.optional<Schema.Number>;
}>;
export type RolesListInput = typeof RolesListInput.Type;
export declare const RolesListOutput: Schema.Struct<{
    readonly count: Schema.optional<Schema.Number>;
    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 id: Schema.optional<Schema.String>;
        readonly name: Schema.optional<Schema.String>;
        readonly created_at: Schema.optional<Schema.String>;
        readonly created_by: Schema.optional<Schema.NullOr<Schema.Struct<{
            readonly id: Schema.optional<Schema.Number>;
            readonly uuid: Schema.optional<Schema.String>;
            readonly distinct_id: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly first_name: Schema.optional<Schema.String>;
            readonly last_name: Schema.optional<Schema.String>;
            readonly email: Schema.optional<Schema.String>;
            readonly is_email_verified: Schema.optional<Schema.NullOr<Schema.Boolean>>;
            readonly hedgehog_config: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>>;
            readonly role_at_organization: Schema.optional<Schema.Unknown>;
        }>>>;
        readonly members: Schema.optional<Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>>;
        readonly is_default: Schema.optional<Schema.Boolean>;
    }>>>;
}>;
export type RolesListOutput = typeof RolesListOutput.Type;
/**
 *
 * @param limit - Number of results to return per page.
 * @param offset - The initial index from which to return the results.
 */
export declare const rolesList: import("@distilled.cloud/core/client").OperationMethod<{
    readonly organization_id: string;
    readonly limit?: number | undefined;
    readonly offset?: number | undefined;
}, {
    readonly count?: number | undefined;
    readonly next?: string | null | undefined;
    readonly previous?: string | null | undefined;
    readonly results?: readonly {
        readonly id?: string | undefined;
        readonly name?: string | undefined;
        readonly created_at?: string | undefined;
        readonly created_by?: {
            readonly id?: number | undefined;
            readonly uuid?: string | undefined;
            readonly distinct_id?: string | null | undefined;
            readonly first_name?: string | undefined;
            readonly last_name?: string | undefined;
            readonly email?: string | undefined;
            readonly is_email_verified?: boolean | null | undefined;
            readonly hedgehog_config?: {
                readonly [x: string]: unknown;
            } | null | undefined;
            readonly role_at_organization?: unknown;
        } | null | undefined;
        readonly members?: readonly {
            readonly [x: string]: unknown;
        }[] | undefined;
        readonly is_default?: boolean | undefined;
    }[] | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=rolesList.d.ts.map