//#region src/utils/JsonEncoder.d.ts
declare class JsonEncoder {
  /**
   * Encode JSON into a base64 string
   */
  static toBase64(json: unknown): string;
  /**
   * Encode JSON into a base64url string
   */
  static toBase64Url(json: unknown): string;
  /**
   * Decode a base64 string into JSON
   */
  static fromBase64(base64: string): any;
  /**
   * Decode a base64-url string into JSON
   */
  static fromBase64Url(base64: string): any;
  /**
   * Encode JSON into a string
   */
  static toUtf8String(json: unknown): string;
  /**
   * Decode a UTF-8 string JSON
   */
  static fromUtf8String(string: string): any;
  /**
   * Encode JSON into a Uint8Array
   */
  static toUint8Array(json: unknown): Uint8Array<ArrayBufferLike>;
  /**
   * Decode a Uint8Array into JSON
   */
  static fromUint8Array(data: Uint8Array): any;
}
//#endregion
export { JsonEncoder };
//# sourceMappingURL=JsonEncoder.d.mts.map