diff --git a/index.ts b/index.ts index 9b260ee..0e8d2eb 100644 --- a/index.ts +++ b/index.ts @@ -671,6 +671,7 @@ export interface Bech32 { str: `${Prefix}1${string}`, limit?: number | false ): Bech32Decoded; + decode(str: string, limit?: number | false): Bech32Decoded; encodeFromBytes(prefix: string, bytes: Uint8Array): string; decodeToBytes(str: string): Bech32DecodedWithArray; decodeUnsafe(str: string, limit?: number | false): void | Bech32Decoded;