import { CredentialType } from '@bubblelab/shared-schemas';
import { ServiceBubble } from '../../../types/service-bubble-class.js';
import type { BubbleContext } from '../../../types/bubble.js';
import { type ClerkParamsInput, type ClerkResult } from './clerk.schema.js';
export declare class ClerkBubble<T extends ClerkParamsInput = ClerkParamsInput> extends ServiceBubble<T, Extract<ClerkResult, {
    operation: T['operation'];
}>> {
    static readonly service = "clerk";
    static readonly authType: "apikey";
    static readonly bubbleName: "clerk";
    static readonly type: "service";
    static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_users">;
        limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        order_by: import("zod").ZodOptional<import("zod").ZodString>;
        query: import("zod").ZodOptional<import("zod").ZodString>;
        email_address: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "list_users";
        limit: number;
        offset: number;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        query?: string | undefined;
        order_by?: string | undefined;
        email_address?: string[] | undefined;
    }, {
        operation: "list_users";
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        query?: string | undefined;
        limit?: number | undefined;
        offset?: number | undefined;
        order_by?: string | undefined;
        email_address?: string[] | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"get_user">;
        user_id: import("zod").ZodString;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "get_user";
        user_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }, {
        operation: "get_user";
        user_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"create_user">;
        email_address: import("zod").ZodArray<import("zod").ZodString, "many">;
        first_name: import("zod").ZodOptional<import("zod").ZodString>;
        last_name: import("zod").ZodOptional<import("zod").ZodString>;
        username: import("zod").ZodOptional<import("zod").ZodString>;
        password: import("zod").ZodOptional<import("zod").ZodString>;
        public_metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        private_metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "create_user";
        email_address: string[];
        password?: string | undefined;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        username?: string | undefined;
        first_name?: string | undefined;
        last_name?: string | undefined;
        public_metadata?: Record<string, unknown> | undefined;
        private_metadata?: Record<string, unknown> | undefined;
    }, {
        operation: "create_user";
        email_address: string[];
        password?: string | undefined;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        username?: string | undefined;
        first_name?: string | undefined;
        last_name?: string | undefined;
        public_metadata?: Record<string, unknown> | undefined;
        private_metadata?: Record<string, unknown> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"update_user">;
        user_id: import("zod").ZodString;
        first_name: import("zod").ZodOptional<import("zod").ZodString>;
        last_name: import("zod").ZodOptional<import("zod").ZodString>;
        username: import("zod").ZodOptional<import("zod").ZodString>;
        public_metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        private_metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "update_user";
        user_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        username?: string | undefined;
        first_name?: string | undefined;
        last_name?: string | undefined;
        public_metadata?: Record<string, unknown> | undefined;
        private_metadata?: Record<string, unknown> | undefined;
    }, {
        operation: "update_user";
        user_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        username?: string | undefined;
        first_name?: string | undefined;
        last_name?: string | undefined;
        public_metadata?: Record<string, unknown> | undefined;
        private_metadata?: Record<string, unknown> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"delete_user">;
        user_id: import("zod").ZodString;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "delete_user";
        user_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }, {
        operation: "delete_user";
        user_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"ban_user">;
        user_id: import("zod").ZodString;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "ban_user";
        user_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }, {
        operation: "ban_user";
        user_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"unban_user">;
        user_id: import("zod").ZodString;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "unban_user";
        user_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }, {
        operation: "unban_user";
        user_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_organizations">;
        limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "list_organizations";
        limit: number;
        offset: number;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }, {
        operation: "list_organizations";
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        limit?: number | undefined;
        offset?: number | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"get_organization">;
        organization_id: import("zod").ZodString;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "get_organization";
        organization_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }, {
        operation: "get_organization";
        organization_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"create_organization">;
        name: import("zod").ZodString;
        slug: import("zod").ZodOptional<import("zod").ZodString>;
        created_by: import("zod").ZodOptional<import("zod").ZodString>;
        public_metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        private_metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        max_allowed_memberships: import("zod").ZodOptional<import("zod").ZodNumber>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        name: string;
        operation: "create_organization";
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        created_by?: string | undefined;
        public_metadata?: Record<string, unknown> | undefined;
        private_metadata?: Record<string, unknown> | undefined;
        slug?: string | undefined;
        max_allowed_memberships?: number | undefined;
    }, {
        name: string;
        operation: "create_organization";
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        created_by?: string | undefined;
        public_metadata?: Record<string, unknown> | undefined;
        private_metadata?: Record<string, unknown> | undefined;
        slug?: string | undefined;
        max_allowed_memberships?: number | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"update_organization">;
        organization_id: import("zod").ZodString;
        name: import("zod").ZodOptional<import("zod").ZodString>;
        slug: import("zod").ZodOptional<import("zod").ZodString>;
        public_metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        private_metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        max_allowed_memberships: import("zod").ZodOptional<import("zod").ZodNumber>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "update_organization";
        organization_id: string;
        name?: string | undefined;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        public_metadata?: Record<string, unknown> | undefined;
        private_metadata?: Record<string, unknown> | undefined;
        slug?: string | undefined;
        max_allowed_memberships?: number | undefined;
    }, {
        operation: "update_organization";
        organization_id: string;
        name?: string | undefined;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        public_metadata?: Record<string, unknown> | undefined;
        private_metadata?: Record<string, unknown> | undefined;
        slug?: string | undefined;
        max_allowed_memberships?: number | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"delete_organization">;
        organization_id: import("zod").ZodString;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "delete_organization";
        organization_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }, {
        operation: "delete_organization";
        organization_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_organization_memberships">;
        organization_id: import("zod").ZodString;
        limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "list_organization_memberships";
        limit: number;
        offset: number;
        organization_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }, {
        operation: "list_organization_memberships";
        organization_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        limit?: number | undefined;
        offset?: number | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_invitations">;
        limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "list_invitations";
        limit: number;
        offset: number;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }, {
        operation: "list_invitations";
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        limit?: number | undefined;
        offset?: number | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"create_invitation">;
        email_address: import("zod").ZodString;
        redirect_url: import("zod").ZodOptional<import("zod").ZodString>;
        public_metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "create_invitation";
        email_address: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        public_metadata?: Record<string, unknown> | undefined;
        redirect_url?: string | undefined;
    }, {
        operation: "create_invitation";
        email_address: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        public_metadata?: Record<string, unknown> | undefined;
        redirect_url?: string | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"revoke_invitation">;
        invitation_id: import("zod").ZodString;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "revoke_invitation";
        invitation_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }, {
        operation: "revoke_invitation";
        invitation_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_sessions">;
        user_id: import("zod").ZodString;
        status: import("zod").ZodOptional<import("zod").ZodEnum<["active", "ended", "expired", "removed", "replaced", "revoked", "abandoned"]>>;
        limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "list_sessions";
        limit: number;
        offset: number;
        user_id: string;
        status?: "active" | "ended" | "expired" | "removed" | "replaced" | "revoked" | "abandoned" | undefined;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }, {
        operation: "list_sessions";
        user_id: string;
        status?: "active" | "ended" | "expired" | "removed" | "replaced" | "revoked" | "abandoned" | undefined;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
        limit?: number | undefined;
        offset?: number | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"revoke_session">;
        session_id: import("zod").ZodString;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "revoke_session";
        session_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }, {
        operation: "revoke_session";
        session_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"get_user_subscription">;
        user_id: import("zod").ZodString;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "get_user_subscription";
        user_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }, {
        operation: "get_user_subscription";
        user_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"get_organization_subscription">;
        organization_id: import("zod").ZodString;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "get_organization_subscription";
        organization_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }, {
        operation: "get_organization_subscription";
        organization_id: string;
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }>]>;
    static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_users">;
        users: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
        total_count: import("zod").ZodOptional<import("zod").ZodNumber>;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "list_users";
        users?: Record<string, unknown>[] | undefined;
        total_count?: number | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "list_users";
        users?: Record<string, unknown>[] | undefined;
        total_count?: number | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"get_user">;
        user: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "get_user";
        user?: Record<string, unknown> | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "get_user";
        user?: Record<string, unknown> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"create_user">;
        user: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "create_user";
        user?: Record<string, unknown> | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "create_user";
        user?: Record<string, unknown> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"update_user">;
        user: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "update_user";
        user?: Record<string, unknown> | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "update_user";
        user?: Record<string, unknown> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"delete_user">;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "delete_user";
    }, {
        error: string;
        success: boolean;
        operation: "delete_user";
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"ban_user">;
        user: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "ban_user";
        user?: Record<string, unknown> | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "ban_user";
        user?: Record<string, unknown> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"unban_user">;
        user: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "unban_user";
        user?: Record<string, unknown> | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "unban_user";
        user?: Record<string, unknown> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_organizations">;
        organizations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
        total_count: import("zod").ZodOptional<import("zod").ZodNumber>;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "list_organizations";
        total_count?: number | undefined;
        organizations?: Record<string, unknown>[] | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "list_organizations";
        total_count?: number | undefined;
        organizations?: Record<string, unknown>[] | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"get_organization">;
        organization: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "get_organization";
        organization?: Record<string, unknown> | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "get_organization";
        organization?: Record<string, unknown> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"create_organization">;
        organization: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "create_organization";
        organization?: Record<string, unknown> | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "create_organization";
        organization?: Record<string, unknown> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"update_organization">;
        organization: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "update_organization";
        organization?: Record<string, unknown> | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "update_organization";
        organization?: Record<string, unknown> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"delete_organization">;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "delete_organization";
    }, {
        error: string;
        success: boolean;
        operation: "delete_organization";
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_organization_memberships">;
        memberships: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
        total_count: import("zod").ZodOptional<import("zod").ZodNumber>;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "list_organization_memberships";
        total_count?: number | undefined;
        memberships?: Record<string, unknown>[] | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "list_organization_memberships";
        total_count?: number | undefined;
        memberships?: Record<string, unknown>[] | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_invitations">;
        invitations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
        total_count: import("zod").ZodOptional<import("zod").ZodNumber>;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "list_invitations";
        total_count?: number | undefined;
        invitations?: Record<string, unknown>[] | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "list_invitations";
        total_count?: number | undefined;
        invitations?: Record<string, unknown>[] | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"create_invitation">;
        invitation: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "create_invitation";
        invitation?: Record<string, unknown> | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "create_invitation";
        invitation?: Record<string, unknown> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"revoke_invitation">;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "revoke_invitation";
    }, {
        error: string;
        success: boolean;
        operation: "revoke_invitation";
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_sessions">;
        sessions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
        total_count: import("zod").ZodOptional<import("zod").ZodNumber>;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "list_sessions";
        total_count?: number | undefined;
        sessions?: Record<string, unknown>[] | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "list_sessions";
        total_count?: number | undefined;
        sessions?: Record<string, unknown>[] | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"revoke_session">;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "revoke_session";
    }, {
        error: string;
        success: boolean;
        operation: "revoke_session";
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"get_user_subscription">;
        subscription: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "get_user_subscription";
        subscription?: Record<string, unknown> | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "get_user_subscription";
        subscription?: Record<string, unknown> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"get_organization_subscription">;
        subscription: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "get_organization_subscription";
        subscription?: Record<string, unknown> | undefined;
    }, {
        error: string;
        success: boolean;
        operation: "get_organization_subscription";
        subscription?: Record<string, unknown> | undefined;
    }>]>;
    static readonly shortDescription = "Clerk integration for user management, organizations, and billing";
    static readonly longDescription = "\n    Integrate with Clerk to manage users, organizations, invitations, sessions, and billing.\n    Supported operations:\n    - Users: List, get, create, update, delete, ban, unban\n    - Organizations: List, get, create, update, delete, list memberships\n    - Invitations: List, create, revoke\n    - Sessions: List, revoke\n    - Billing: Get user/organization subscription status\n    Authentication: OAuth 2.0 or Secret Key (Bearer token)\n  ";
    static readonly alias = "clerk";
    constructor(params?: T, context?: BubbleContext);
    protected chooseCredential(): string | undefined;
    private makeClerkRequest;
    testCredential(): Promise<boolean>;
    protected performAction(context?: BubbleContext): Promise<Extract<ClerkResult, {
        operation: T['operation'];
    }>>;
    private listUsers;
    private getUser;
    private createUser;
    private updateUser;
    private deleteUser;
    private banUser;
    private unbanUser;
    private listOrganizations;
    private getOrganization;
    private createOrganization;
    private updateOrganization;
    private deleteOrganization;
    private listOrganizationMemberships;
    private listInvitations;
    private createInvitation;
    private revokeInvitation;
    private listSessions;
    private revokeSession;
    private getUserSubscription;
    private getOrganizationSubscription;
}
//# sourceMappingURL=clerk.d.ts.map