/** * Interface for encoding two and from base16 / hex. */ export declare namespace base16 { /** * Encodes the given bytes as a hex string. */ function encode(data: Uint8Array): string; /** * Decodes the given hex string to bytes. */ function decode(str: string): Uint8Array; } /** * Interface for encoding two and from base64. */ export declare namespace base64 { /** * Encodes the given bytes as a base64 string. */ function encode(data: Uint8Array): string; /** * Decodes the given base64 string to bytes. */ function decode(str: string): Uint8Array; } /** * Interface for encoding two and from bech32m. */ export declare namespace bech32m { /** * Encodes the given bytes as a bech32 string with the specified prefix. */ function encode(data: Uint8Array, prefix?: string): string; /** * Decodes the given bech32 string to bytes, ensuring a matching prefix. */ function decode(str: string, prefix?: string): Uint8Array; } //# sourceMappingURL=base.d.ts.map