/** Encode raw bytes as a bech32 string under the given human-readable prefix. */ export declare function bech32Encode(hrp: string, bytes: Uint8Array): string; /** * Encode a hex Cardano address (payment or stake/reward) as bech32 (`addr1…` / `stake1…`). The * human-readable prefix is derived from the address header byte: the high nibble is the address * type (0b1110/0b1111 = reward), the low nibble is the network id (1 = mainnet, else testnet). * Returns null for empty/invalid input — callers can fall back to the raw hex. */ export declare function addressBech32(hex: string | null | undefined): string | null; //# sourceMappingURL=bech32.d.ts.map