/// /** * Class that encodes binary blobs into strings. */ export default class Encoder { /** * Encodes given Buffer into a Base64URL string. */ static encode(content: Buffer | string): string; /** * Decodes the given Base64URL string into a Buffer. */ static decodeAsBuffer(encodedContent: string): Buffer; /** * Decodes the given Base64URL string into a string. */ static decodeAsString(encodedContent: string): string; }