astro-ghostcms/.pnpm-store/v3/files/e2/ee59b06c0b1a4b964fd9f7d81e5...

20 lines
515 B
Plaintext

/**
* Utility function to encode a string or Uint8Array as a base64url string.
*
* @param input Value that will be base64url-encoded.
*/
interface Base64UrlEncode {
(input: Uint8Array | string): string;
}
/**
* Utility function to decode a base64url encoded string.
*
* @param input Value that will be base64url-decoded.
*/
interface Base64UrlDecode {
(input: Uint8Array | string): Uint8Array;
}
export declare const encode: Base64UrlEncode;
export declare const decode: Base64UrlDecode;
export {};