@clerk/nextjs
Version:
Clerk SDK for NextJS
33 lines • 1.95 kB
TypeScript
/**
* These need to be explicitly listed. Do not use an * here.
* If you do, app router will break.
*/
export { AuthenticateWithRedirectCallback, ClerkDegraded, ClerkFailed, ClerkLoaded, ClerkLoading, UNSAFE_PortalProvider, RedirectToCreateOrganization, RedirectToOrganizationProfile, RedirectToSignIn, RedirectToSignUp, RedirectToTasks, RedirectToUserProfile, } from './client-boundary/controlComponents';
/**
* These need to be explicitly listed. Do not use an * here.
* If you do, app router will break.
*/
export { APIKeys, CreateOrganization, GoogleOneTap, OAuthConsent, OrganizationList, OrganizationProfile, OrganizationSwitcher, PricingTable, SignIn, SignInButton, SignInWithMetamaskButton, SignOutButton, SignUp, SignUpButton, TaskChooseOrganization, TaskResetPassword, TaskSetupMFA, UserAvatar, UserButton, UserProfile, Waitlist, } from './client-boundary/uiComponents';
/**
* These need to be explicitly listed. Do not use an * here.
* If you do, app router will break.
*/
export { useAuth, useClerk, useEmailLink, useOAuthConsent, useOrganization, useOrganizationCreationDefaults, useOrganizationList, useReverification, useAPIKeys, useSession, useSessionList, useSignIn, useSignUp, useWaitlist, useUser, } from './client-boundary/hooks';
export { getToken } from '@clerk/shared/getToken';
import type { ServerComponentsServerModuleTypes } from './components.server';
export declare const ClerkProvider: ServerComponentsServerModuleTypes["ClerkProvider"];
export declare const Show: ServerComponentsServerModuleTypes["Show"];
/**
* `auth` is not available from this import path.
*
* **To fix this error:**
* ```diff
* - import { auth } from '@clerk/nextjs'
* + import { auth } from '@clerk/nextjs/server'
* ```
*
* The `auth` function is only available in server-side contexts:
* API Routes, Server Components, Server Actions, and Middleware.
*/
export declare const auth: never;
//# sourceMappingURL=index.d.ts.map