Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
20 lines
524 B
Plaintext
20 lines
524 B
Plaintext
/**
|
|
* Utility function to encode a string or {@link !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 {};
|