import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const RolesRoleMembershipsCreateInput: Schema.Struct<{
    readonly organization_id: Schema.String;
    readonly role_id: Schema.String;
    readonly id: Schema.optional<Schema.String>;
    readonly organization_member: Schema.optional<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>;
    }>>;
    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 joined_at: Schema.optional<Schema.String>;
    readonly updated_at: Schema.optional<Schema.String>;
    readonly user_uuid: Schema.optional<Schema.String>;
}>;
export type RolesRoleMembershipsCreateInput = typeof RolesRoleMembershipsCreateInput.Type;
export declare const RolesRoleMembershipsCreateOutput: Schema.Struct<{
    readonly id: Schema.optional<Schema.String>;
    readonly role_id: Schema.optional<Schema.String>;
    readonly organization_member: Schema.optional<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>;
    }>>;
    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 joined_at: Schema.optional<Schema.String>;
    readonly updated_at: Schema.optional<Schema.String>;
    readonly user_uuid: Schema.optional<Schema.String>;
}>;
export type RolesRoleMembershipsCreateOutput = typeof RolesRoleMembershipsCreateOutput.Type;
export declare const rolesRoleMembershipsCreate: import("@distilled.cloud/core/client").OperationMethod<{
    readonly organization_id: string;
    readonly role_id: string;
    readonly id?: string | undefined;
    readonly organization_member?: {
        readonly id?: string | undefined;
        readonly user?: {
            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 level?: 1 | 8 | 15 | undefined;
        readonly joined_at?: string | undefined;
        readonly updated_at?: string | undefined;
        readonly is_2fa_enabled?: boolean | undefined;
        readonly has_social_auth?: boolean | undefined;
        readonly last_login?: string | undefined;
    } | undefined;
    readonly user?: {
        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 joined_at?: string | undefined;
    readonly updated_at?: string | undefined;
    readonly user_uuid?: string | undefined;
}, {
    readonly id?: string | undefined;
    readonly role_id?: string | undefined;
    readonly organization_member?: {
        readonly id?: string | undefined;
        readonly user?: {
            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 level?: 1 | 8 | 15 | undefined;
        readonly joined_at?: string | undefined;
        readonly updated_at?: string | undefined;
        readonly is_2fa_enabled?: boolean | undefined;
        readonly has_social_auth?: boolean | undefined;
        readonly last_login?: string | undefined;
    } | undefined;
    readonly user?: {
        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 joined_at?: string | undefined;
    readonly updated_at?: string | undefined;
    readonly user_uuid?: string | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=rolesRoleMembershipsCreate.d.ts.map