@clerk/shared
Version:
Internal package utils used by the Clerk SDKs
8 lines • 350 B
text/typescript
//#region src/isomorphicAtob.d.ts
/**
* A function that decodes a string of data which has been encoded using base-64 encoding.
* Uses `atob` if available, otherwise uses `Buffer` from `globalThis`. If neither are available, returns the data as-is.
*/
declare const isomorphicAtob: (data: string) => string;
//#endregion
export { isomorphicAtob };