svelte-clerk
Version:
Svelte Clerk is the easiest way to add authentication and user management to your Svelte and SvelteKit applications. Add sign up, sign in, and profile management to your application in minutes.
12 lines (11 loc) • 590 B
TypeScript
import type { LoadClerkJsScriptOptions } from '@clerk/shared';
/**
* Merges the public environment variables with the Clerk initialization options.
*
* This function takes a Clerk initialization options object and returns a new object
* with the public environment variables merged into it. If a property is already
* defined in the Clerk initialization options, it will not be overridden.
*/
export declare function mergeWithPublicEnvVariables(clerkInitOptions: Omit<LoadClerkJsScriptOptions, 'publishableKey'> & {
publishableKey?: string;
}): Partial<LoadClerkJsScriptOptions>;