@clerk/shared
Version:
Internal package utils used by the Clerk SDKs
10 lines • 408 B
text/typescript
//#region src/apiUrlFromPublishableKey.d.ts
/**
* Get the correct API url based on the publishable key.
*
* @param publishableKey - The publishable key to parse.
* @returns One of Clerk's API URLs.
*/
declare const apiUrlFromPublishableKey: (publishableKey: string) => "https://api.lclclerk.com" | "https://api.clerkstage.dev" | "https://api.clerk.com";
//#endregion
export { apiUrlFromPublishableKey };