@clerk/nextjs
Version:
Clerk SDK for NextJS
39 lines • 2.4 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, HandleSSOCallback, InviteMembersButton, OAuthConsent, OAuthDeviceVerification, 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, useOAuthDeviceVerification, 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';
/**
* To set up Clerk in your project, run `npx -y clerk@latest init` from your project's root directory.
* The Clerk CLI can provision temporary development keys without a Clerk account and write them to `.env.local`. See
* the [Clerk CLI docs](https://clerk.com/docs/cli).
*/
export declare const ClerkProvider: ServerComponentsServerModuleTypes["ClerkProvider"];
export declare const Show: ServerComponentsServerModuleTypes["Show"];
export { Protect, SignedIn, SignedOut } from './removedControlComponents';
/**
* `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