/// import { Buffer } from 'buffer'; export declare class Base64url { /** * * Encode into base64url string * */ static encode(input: string | Uint8Array | Buffer): string; /** * * Encode from JSON into a base64url string * */ static encodeFromJson(input: Record | Array): string; /** * * Decode from base64url into JSON * */ static decodeToJson | Array = Record>(input: string): T; /** * * Decode from base64url into a byte array * */ static decode(input: string): Uint8Array; }