/** * @license * https://reviews.bitcoinabc.org * Copyright (c) 2017-2020 Emilio Almansi * Copyright (c) 2023-2024 Bitcoin ABC * Distributed under the MIT software license, see the accompanying * file LICENSE or http://www.opensource.org/licenses/mit-license.php. */ /** * Base32 encoding and decoding. * * @module base32 */ /** * Charset containing the 32 symbols used in the base32 encoding. * @private */ export declare const CHARSET: string; /** * Encodes the given array of 5-bit integers as a base32-encoded string. * * @static * @param data Array of integers between 0 and 31 inclusive. * @throws {ValidationError} */ declare function encode(data: Uint8Array): string; /** * Decodes the given base32-encoded string into an array of 5-bit integers. * * @static * @param string * @throws {ValidationError} */ declare function decode(string: string): Uint8Array; declare const _default: { encode: typeof encode; decode: typeof decode; }; export default _default;