import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const MembersListInput: Schema.Struct<{
    readonly organization_id: Schema.String;
    readonly limit: Schema.optional<Schema.Number>;
    readonly offset: Schema.optional<Schema.Number>;
    readonly order: Schema.optional<Schema.Literals<readonly ["-joined_at", "joined_at"]>>;
}>;
export type MembersListInput = typeof MembersListInput.Type;
export declare const MembersListOutput: 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 user: 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 level: Schema.optional<Schema.Literals<readonly [1, 8, 15]>>;
        readonly joined_at: Schema.optional<Schema.String>;
        readonly updated_at: Schema.optional<Schema.String>;
        readonly is_2fa_enabled: Schema.optional<Schema.Boolean>;
        readonly has_social_auth: Schema.optional<Schema.Boolean>;
        readonly last_login: Schema.optional<Schema.String>;
    }>>>;
}>;
export type MembersListOutput = typeof MembersListOutput.Type;
/**
 *
 * @param limit - Number of results to return per page.
 * @param offset - The initial index from which to return the results.
 * @param order - Sort order. Defaults to `-joined_at`.
 */
export declare const membersList: import("@distilled.cloud/core/client").OperationMethod<{
    readonly limit?: number | undefined;
    readonly offset?: number | undefined;
    readonly order?: "-joined_at" | "joined_at" | undefined;
    readonly organization_id: string;
}, {
    readonly count?: number | undefined;
    readonly next?: string | null | undefined;
    readonly previous?: string | null | undefined;
    readonly results?: readonly {
        readonly has_social_auth?: boolean | undefined;
        readonly id?: string | undefined;
        readonly is_2fa_enabled?: boolean | undefined;
        readonly joined_at?: string | undefined;
        readonly last_login?: string | undefined;
        readonly level?: 1 | 8 | 15 | undefined;
        readonly updated_at?: string | undefined;
        readonly user?: {
            readonly distinct_id?: string | null | undefined;
            readonly email?: string | undefined;
            readonly first_name?: string | undefined;
            readonly hedgehog_config?: {
                readonly [x: string]: unknown;
            } | null | undefined;
            readonly id?: number | undefined;
            readonly is_email_verified?: boolean | null | undefined;
            readonly last_name?: string | undefined;
            readonly role_at_organization?: unknown;
            readonly uuid?: string | undefined;
        } | null | undefined;
    }[] | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=membersList.d.ts.map