bech32: {
    decode: {
        <Prefix_1>(str, limit?): Bech32Decoded<Prefix_1>;
        (str, limit?): Bech32Decoded<string>;
    };
    decodeToBytes: ((str) => Bech32DecodedWithArray);
    decodeUnsafe: ((str, limit?) => void | Bech32Decoded<string>);
    encode: (<Prefix>(prefix, words, limit?) => `${Lowercase<Prefix>}1${string}`);
    fromWords: ((to) => Uint8Array);
    fromWordsUnsafe: ((to) => void | Uint8Array);
    toWords: ((from) => number[]);
}

Type declaration

Generated using TypeDoc