//#region src/utils/bech32.d.ts /** * Converts a byte array to a hexadecimal string representation * @param byteArray - Array of bytes to convert * @returns Hexadecimal string */ declare function toHexString(byteArray: number[]): string; /** * Extracts the key hash from a bech32-encoded address * @param address - Bech32-encoded address string * @returns Hexadecimal key hash * @throws Error if address cannot be decoded */ declare function keyHashfromAddress(address: string): string; /** * Creates a bech32-encoded address from a key hash and prefix * @param prefix - Address prefix (e.g., "cosmos", "cosmosvalcons") * @param keyhash - Hexadecimal key hash * @returns Bech32-encoded address or empty string if keyhash is empty */ declare function chainAddressfromKeyhash(prefix: string, keyhash: string): string; //#endregion export { chainAddressfromKeyhash, keyHashfromAddress, toHexString }; //# sourceMappingURL=bech32.d.mts.map