import { z } from 'zod'; import { CredentialType } from '@bubblelab/shared-schemas'; export declare const ClerkParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"list_users">; limit: z.ZodDefault>; offset: z.ZodDefault>; order_by: z.ZodOptional; query: z.ZodOptional; email_address: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_users"; limit: number; offset: number; credentials?: Partial> | undefined; query?: string | undefined; order_by?: string | undefined; email_address?: string[] | undefined; }, { operation: "list_users"; credentials?: Partial> | undefined; query?: string | undefined; limit?: number | undefined; offset?: number | undefined; order_by?: string | undefined; email_address?: string[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_user">; user_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_user"; user_id: string; credentials?: Partial> | undefined; }, { operation: "get_user"; user_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_user">; email_address: z.ZodArray; first_name: z.ZodOptional; last_name: z.ZodOptional; username: z.ZodOptional; password: z.ZodOptional; public_metadata: z.ZodOptional>; private_metadata: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "create_user"; email_address: string[]; password?: string | undefined; credentials?: Partial> | undefined; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; public_metadata?: Record | undefined; private_metadata?: Record | undefined; }, { operation: "create_user"; email_address: string[]; password?: string | undefined; credentials?: Partial> | undefined; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; public_metadata?: Record | undefined; private_metadata?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_user">; user_id: z.ZodString; first_name: z.ZodOptional; last_name: z.ZodOptional; username: z.ZodOptional; public_metadata: z.ZodOptional>; private_metadata: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_user"; user_id: string; credentials?: Partial> | undefined; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; public_metadata?: Record | undefined; private_metadata?: Record | undefined; }, { operation: "update_user"; user_id: string; credentials?: Partial> | undefined; username?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; public_metadata?: Record | undefined; private_metadata?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_user">; user_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "delete_user"; user_id: string; credentials?: Partial> | undefined; }, { operation: "delete_user"; user_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"ban_user">; user_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "ban_user"; user_id: string; credentials?: Partial> | undefined; }, { operation: "ban_user"; user_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"unban_user">; user_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "unban_user"; user_id: string; credentials?: Partial> | undefined; }, { operation: "unban_user"; user_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_organizations">; limit: z.ZodDefault>; offset: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_organizations"; limit: number; offset: number; credentials?: Partial> | undefined; }, { operation: "list_organizations"; credentials?: Partial> | undefined; limit?: number | undefined; offset?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_organization">; organization_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_organization"; organization_id: string; credentials?: Partial> | undefined; }, { operation: "get_organization"; organization_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_organization">; name: z.ZodString; slug: z.ZodOptional; created_by: z.ZodOptional; public_metadata: z.ZodOptional>; private_metadata: z.ZodOptional>; max_allowed_memberships: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; operation: "create_organization"; credentials?: Partial> | undefined; slug?: string | undefined; created_by?: string | undefined; public_metadata?: Record | undefined; private_metadata?: Record | undefined; max_allowed_memberships?: number | undefined; }, { name: string; operation: "create_organization"; credentials?: Partial> | undefined; slug?: string | undefined; created_by?: string | undefined; public_metadata?: Record | undefined; private_metadata?: Record | undefined; max_allowed_memberships?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_organization">; organization_id: z.ZodString; name: z.ZodOptional; slug: z.ZodOptional; public_metadata: z.ZodOptional>; private_metadata: z.ZodOptional>; max_allowed_memberships: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_organization"; organization_id: string; name?: string | undefined; credentials?: Partial> | undefined; slug?: string | undefined; public_metadata?: Record | undefined; private_metadata?: Record | undefined; max_allowed_memberships?: number | undefined; }, { operation: "update_organization"; organization_id: string; name?: string | undefined; credentials?: Partial> | undefined; slug?: string | undefined; public_metadata?: Record | undefined; private_metadata?: Record | undefined; max_allowed_memberships?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_organization">; organization_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "delete_organization"; organization_id: string; credentials?: Partial> | undefined; }, { operation: "delete_organization"; organization_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_organization_memberships">; organization_id: z.ZodString; limit: z.ZodDefault>; offset: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_organization_memberships"; limit: number; offset: number; organization_id: string; credentials?: Partial> | undefined; }, { operation: "list_organization_memberships"; organization_id: string; credentials?: Partial> | undefined; limit?: number | undefined; offset?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_invitations">; limit: z.ZodDefault>; offset: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_invitations"; limit: number; offset: number; credentials?: Partial> | undefined; }, { operation: "list_invitations"; credentials?: Partial> | undefined; limit?: number | undefined; offset?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_invitation">; email_address: z.ZodString; redirect_url: z.ZodOptional; public_metadata: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "create_invitation"; email_address: string; credentials?: Partial> | undefined; public_metadata?: Record | undefined; redirect_url?: string | undefined; }, { operation: "create_invitation"; email_address: string; credentials?: Partial> | undefined; public_metadata?: Record | undefined; redirect_url?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"revoke_invitation">; invitation_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "revoke_invitation"; invitation_id: string; credentials?: Partial> | undefined; }, { operation: "revoke_invitation"; invitation_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_sessions">; user_id: z.ZodString; status: z.ZodOptional>; limit: z.ZodDefault>; offset: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_sessions"; limit: number; user_id: string; offset: number; status?: "active" | "ended" | "expired" | "removed" | "replaced" | "revoked" | "abandoned" | undefined; credentials?: Partial> | undefined; }, { operation: "list_sessions"; user_id: string; status?: "active" | "ended" | "expired" | "removed" | "replaced" | "revoked" | "abandoned" | undefined; credentials?: Partial> | undefined; limit?: number | undefined; offset?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"revoke_session">; session_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "revoke_session"; session_id: string; credentials?: Partial> | undefined; }, { operation: "revoke_session"; session_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_user_subscription">; user_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_user_subscription"; user_id: string; credentials?: Partial> | undefined; }, { operation: "get_user_subscription"; user_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_organization_subscription">; organization_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_organization_subscription"; organization_id: string; credentials?: Partial> | undefined; }, { operation: "get_organization_subscription"; organization_id: string; credentials?: Partial> | undefined; }>]>; export declare const ClerkResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"list_users">; users: z.ZodOptional, "many">>; total_count: z.ZodOptional; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_users"; users?: Record[] | undefined; total_count?: number | undefined; }, { error: string; success: boolean; operation: "list_users"; users?: Record[] | undefined; total_count?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_user">; user: z.ZodOptional>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_user"; user?: Record | undefined; }, { error: string; success: boolean; operation: "get_user"; user?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_user">; user: z.ZodOptional>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_user"; user?: Record | undefined; }, { error: string; success: boolean; operation: "create_user"; user?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_user">; user: z.ZodOptional>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "update_user"; user?: Record | undefined; }, { error: string; success: boolean; operation: "update_user"; user?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_user">; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_user"; }, { error: string; success: boolean; operation: "delete_user"; }>, z.ZodObject<{ operation: z.ZodLiteral<"ban_user">; user: z.ZodOptional>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "ban_user"; user?: Record | undefined; }, { error: string; success: boolean; operation: "ban_user"; user?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"unban_user">; user: z.ZodOptional>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "unban_user"; user?: Record | undefined; }, { error: string; success: boolean; operation: "unban_user"; user?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_organizations">; organizations: z.ZodOptional, "many">>; total_count: z.ZodOptional; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_organizations"; total_count?: number | undefined; organizations?: Record[] | undefined; }, { error: string; success: boolean; operation: "list_organizations"; total_count?: number | undefined; organizations?: Record[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_organization">; organization: z.ZodOptional>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_organization"; organization?: Record | undefined; }, { error: string; success: boolean; operation: "get_organization"; organization?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_organization">; organization: z.ZodOptional>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_organization"; organization?: Record | undefined; }, { error: string; success: boolean; operation: "create_organization"; organization?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_organization">; organization: z.ZodOptional>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "update_organization"; organization?: Record | undefined; }, { error: string; success: boolean; operation: "update_organization"; organization?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_organization">; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_organization"; }, { error: string; success: boolean; operation: "delete_organization"; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_organization_memberships">; memberships: z.ZodOptional, "many">>; total_count: z.ZodOptional; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_organization_memberships"; total_count?: number | undefined; memberships?: Record[] | undefined; }, { error: string; success: boolean; operation: "list_organization_memberships"; total_count?: number | undefined; memberships?: Record[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_invitations">; invitations: z.ZodOptional, "many">>; total_count: z.ZodOptional; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_invitations"; total_count?: number | undefined; invitations?: Record[] | undefined; }, { error: string; success: boolean; operation: "list_invitations"; total_count?: number | undefined; invitations?: Record[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_invitation">; invitation: z.ZodOptional>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_invitation"; invitation?: Record | undefined; }, { error: string; success: boolean; operation: "create_invitation"; invitation?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"revoke_invitation">; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "revoke_invitation"; }, { error: string; success: boolean; operation: "revoke_invitation"; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_sessions">; sessions: z.ZodOptional, "many">>; total_count: z.ZodOptional; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_sessions"; total_count?: number | undefined; sessions?: Record[] | undefined; }, { error: string; success: boolean; operation: "list_sessions"; total_count?: number | undefined; sessions?: Record[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"revoke_session">; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "revoke_session"; }, { error: string; success: boolean; operation: "revoke_session"; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_user_subscription">; subscription: z.ZodOptional>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_user_subscription"; subscription?: Record | undefined; }, { error: string; success: boolean; operation: "get_user_subscription"; subscription?: Record | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_organization_subscription">; subscription: z.ZodOptional>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_organization_subscription"; subscription?: Record | undefined; }, { error: string; success: boolean; operation: "get_organization_subscription"; subscription?: Record | undefined; }>]>; export type ClerkParamsInput = z.input; export type ClerkParams = z.output; export type ClerkResult = z.output; //# sourceMappingURL=clerk.schema.d.ts.map