| import * as _clerk_types from '@clerk/types'; |
| import { Without, APIKeysProps, CreateOrganizationProps, OrganizationListProps, OrganizationProfileProps, OrganizationSwitcherProps, SignInProps, SignUpProps, TaskChooseOrganizationProps, UserButtonProps, UserProfileProps, WaitlistProps, SignInButtonProps, SignOutOptions, SignUpButtonProps, SignInResource, CreateEmailLinkFlowReturn, SignInStartEmailLinkFlowParams, SignUpResource, StartEmailLinkFlowParams, EmailAddressResource, UseSignInReturn, UseSignUpReturn } from '@clerk/types'; |
| import React, { ReactNode, PropsWithChildren } from 'react'; |
| import { W as WithClerkProp, O as OrganizationProfilePageProps, a as OrganizationProfileLinkProps, U as UserProfilePageProps, b as UserProfileLinkProps, c as UserButtonActionProps, d as UserButtonLinkProps, S as SignInWithMetamaskButtonProps, C as ClerkProviderProps } from './types-Bl1IBYqc.mjs'; |
| export { B as BrowserClerk, e as ClerkProp, H as HeadlessBrowserClerk } from './types-Bl1IBYqc.mjs'; |
| export { A as AuthenticateWithRedirectCallback, C as ClerkDegraded, a as ClerkFailed, b as ClerkLoaded, c as ClerkLoading, P as Protect, j as ProtectProps, R as RedirectToCreateOrganization, d as RedirectToOrganizationProfile, e as RedirectToSignIn, f as RedirectToSignUp, g as RedirectToTasks, h as RedirectToUserProfile, S as SignedIn, i as SignedOut, k as useAuth } from './useAuth-BVxIa9U7.mjs'; |
| export { __experimental_CheckoutProvider, __experimental_PaymentElement, __experimental_PaymentElementProvider, __experimental_useCheckout, __experimental_usePaymentElement, useClerk, useOrganization, useOrganizationList, useReverification, useSession, useSessionList, useUser } from '@clerk/shared/react'; |
|
|
| type FallbackProp = { |
| |
| |
| |
| fallback?: ReactNode; |
| }; |
| type UserProfileExportType = typeof _UserProfile & { |
| Page: typeof UserProfilePage; |
| Link: typeof UserProfileLink; |
| }; |
| type UserButtonExportType = typeof _UserButton & { |
| UserProfilePage: typeof UserProfilePage; |
| UserProfileLink: typeof UserProfileLink; |
| MenuItems: typeof MenuItems; |
| Action: typeof MenuAction; |
| Link: typeof MenuLink; |
| |
| |
| |
| |
| |
| __experimental_Outlet: typeof UserButtonOutlet; |
| }; |
| type UserButtonPropsWithoutCustomPages = Without<UserButtonProps, 'userProfileProps' | '__experimental_asStandalone'> & { |
| userProfileProps?: Pick<UserProfileProps, 'additionalOAuthScopes' | 'appearance'>; |
| |
| |
| |
| |
| |
| |
| __experimental_asProvider?: boolean; |
| }; |
| type OrganizationProfileExportType = typeof _OrganizationProfile & { |
| Page: typeof OrganizationProfilePage; |
| Link: typeof OrganizationProfileLink; |
| }; |
| type OrganizationSwitcherExportType = typeof _OrganizationSwitcher & { |
| OrganizationProfilePage: typeof OrganizationProfilePage; |
| OrganizationProfileLink: typeof OrganizationProfileLink; |
| |
| |
| |
| |
| |
| __experimental_Outlet: typeof OrganizationSwitcherOutlet; |
| }; |
| type OrganizationSwitcherPropsWithoutCustomPages = Without<OrganizationSwitcherProps, 'organizationProfileProps' | '__experimental_asStandalone'> & { |
| organizationProfileProps?: Pick<OrganizationProfileProps, 'appearance'>; |
| |
| |
| |
| |
| |
| |
| __experimental_asProvider?: boolean; |
| }; |
| declare const SignIn: { |
| (props: Without<WithClerkProp<SignInProps & FallbackProp>, "clerk">): React.JSX.Element | null; |
| displayName: string; |
| }; |
| declare const SignUp: { |
| (props: Without<WithClerkProp<SignUpProps & FallbackProp>, "clerk">): React.JSX.Element | null; |
| displayName: string; |
| }; |
| declare function UserProfilePage({ children }: PropsWithChildren<UserProfilePageProps>): React.JSX.Element; |
| declare function UserProfileLink({ children }: PropsWithChildren<UserProfileLinkProps>): React.JSX.Element; |
| declare const _UserProfile: { |
| (props: Without<WithClerkProp<PropsWithChildren<Without<UserProfileProps, "customPages">> & FallbackProp>, "clerk">): React.JSX.Element | null; |
| displayName: string; |
| }; |
| declare const UserProfile: UserProfileExportType; |
| declare const _UserButton: { |
| (props: Without<WithClerkProp<PropsWithChildren<UserButtonPropsWithoutCustomPages> & FallbackProp>, "clerk">): React.JSX.Element | null; |
| displayName: string; |
| }; |
| declare function MenuItems({ children }: PropsWithChildren): React.JSX.Element; |
| declare function MenuAction({ children }: PropsWithChildren<UserButtonActionProps>): React.JSX.Element; |
| declare function MenuLink({ children }: PropsWithChildren<UserButtonLinkProps>): React.JSX.Element; |
| declare function UserButtonOutlet(outletProps: Without<UserButtonProps, 'userProfileProps'>): React.JSX.Element; |
| declare const UserButton: UserButtonExportType; |
| declare function OrganizationProfilePage({ children }: PropsWithChildren<OrganizationProfilePageProps>): React.JSX.Element; |
| declare function OrganizationProfileLink({ children }: PropsWithChildren<OrganizationProfileLinkProps>): React.JSX.Element; |
| declare const _OrganizationProfile: { |
| (props: Without<WithClerkProp<PropsWithChildren<Without<OrganizationProfileProps, "customPages">> & FallbackProp>, "clerk">): React.JSX.Element | null; |
| displayName: string; |
| }; |
| declare const OrganizationProfile: OrganizationProfileExportType; |
| declare const CreateOrganization: { |
| (props: Without<WithClerkProp<CreateOrganizationProps & FallbackProp>, "clerk">): React.JSX.Element | null; |
| displayName: string; |
| }; |
| declare const _OrganizationSwitcher: { |
| (props: Without<WithClerkProp<PropsWithChildren<OrganizationSwitcherPropsWithoutCustomPages> & FallbackProp>, "clerk">): React.JSX.Element | null; |
| displayName: string; |
| }; |
| declare function OrganizationSwitcherOutlet(outletProps: Without<OrganizationSwitcherProps, 'organizationProfileProps'>): React.JSX.Element; |
| declare const OrganizationSwitcher: OrganizationSwitcherExportType; |
| declare const OrganizationList: { |
| (props: Without<WithClerkProp<OrganizationListProps & FallbackProp>, "clerk">): React.JSX.Element | null; |
| displayName: string; |
| }; |
| declare const GoogleOneTap: { |
| (props: Without<WithClerkProp<_clerk_types.SignInForceRedirectUrl & _clerk_types.SignUpForceRedirectUrl & { |
| cancelOnTapOutside?: boolean; |
| itpSupport?: boolean; |
| fedCmSupport?: boolean; |
| appearance?: _clerk_types.SignInTheme; |
| } & FallbackProp>, "clerk">): React.JSX.Element | null; |
| displayName: string; |
| }; |
| declare const Waitlist: { |
| (props: Without<WithClerkProp<WaitlistProps & FallbackProp>, "clerk">): React.JSX.Element | null; |
| displayName: string; |
| }; |
| declare const PricingTable: { |
| (props: Without<WithClerkProp<{ |
| forOrganizations?: boolean; |
| appearance?: _clerk_types.PricingTableTheme; |
| checkoutProps?: Pick<_clerk_types.__internal_CheckoutProps, "appearance">; |
| } & { |
| ctaPosition?: "top" | "bottom"; |
| collapseFeatures?: boolean; |
| newSubscriptionRedirectUrl?: string; |
| } & FallbackProp>, "clerk">): React.JSX.Element | null; |
| displayName: string; |
| }; |
| |
| |
| |
| |
| declare const APIKeys: { |
| (props: Without<WithClerkProp<APIKeysProps & FallbackProp>, "clerk">): React.JSX.Element | null; |
| displayName: string; |
| }; |
| declare const TaskChooseOrganization: { |
| (props: Without<WithClerkProp<TaskChooseOrganizationProps & FallbackProp>, "clerk">): React.JSX.Element | null; |
| displayName: string; |
| }; |
|
|
| declare const SignInButton: { |
| (props: _clerk_types.Without<WithClerkProp<React.PropsWithChildren<SignInButtonProps>>, "clerk">): React.JSX.Element | null; |
| displayName: string; |
| }; |
|
|
| declare const SignInWithMetamaskButton: { |
| (props: _clerk_types.Without<WithClerkProp<SignInWithMetamaskButtonProps>, "clerk">): React.JSX.Element | null; |
| displayName: string; |
| }; |
|
|
| type SignOutButtonProps = { |
| redirectUrl?: string; |
| signOutOptions?: SignOutOptions; |
| children?: React.ReactNode; |
| }; |
| declare const SignOutButton: { |
| (props: _clerk_types.Without<React.PropsWithChildren<WithClerkProp<SignOutButtonProps>>, "clerk">): React.JSX.Element | null; |
| displayName: string; |
| }; |
|
|
| declare const SignUpButton: { |
| (props: _clerk_types.Without<WithClerkProp<React.PropsWithChildren<SignUpButtonProps>>, "clerk">): React.JSX.Element | null; |
| displayName: string; |
| }; |
|
|
| declare const ClerkProvider: React.ComponentType<ClerkProviderProps>; |
|
|
| type UseEmailLinkSignInReturn = CreateEmailLinkFlowReturn<SignInStartEmailLinkFlowParams, SignInResource>; |
| type UseEmailLinkSignUpReturn = CreateEmailLinkFlowReturn<StartEmailLinkFlowParams, SignUpResource>; |
| type UseEmailLinkEmailAddressReturn = CreateEmailLinkFlowReturn<StartEmailLinkFlowParams, EmailAddressResource>; |
| declare function useEmailLink(resource: SignInResource): UseEmailLinkSignInReturn; |
| declare function useEmailLink(resource: SignUpResource): UseEmailLinkSignUpReturn; |
| declare function useEmailLink(resource: EmailAddressResource): UseEmailLinkEmailAddressReturn; |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| declare const useSignIn: () => UseSignInReturn; |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| declare const useSignUp: () => UseSignUpReturn; |
|
|
| export { APIKeys, ClerkProvider, ClerkProviderProps, CreateOrganization, GoogleOneTap, OrganizationList, OrganizationProfile, OrganizationSwitcher, PricingTable, SignIn, SignInButton, SignInWithMetamaskButton, SignOutButton, SignUp, SignUpButton, TaskChooseOrganization, UserButton, UserProfile, Waitlist, useEmailLink, useSignIn, useSignUp }; |
|
|