export interface Addr { isValid(address: string): boolean; /** Returns hex public key (0x...) */ getPubKey(address: string): string; /** Encodes a hex public key (0x...) into an address string. */ encodePubKey(pubKey: string): string; } export declare class Ss58Addr { /** * Strict SS58 only to avoid confusing 0x32 (Sui/EVM-like) with SS58. * Accept any prefix as long as it decodes to 32 bytes. * * @param addr - address * @returns true if strict ss58, otherwise false */ private static isSs58Strict; static isValid(address: string): boolean; static getPubKey(address: string): string; static encodePubKey(pubKey: string, ss58Prefix?: number): string; } export declare class EvmAddr { static isValid(address: string): boolean; } export declare class SolanaAddr { static isValid(address: string): boolean; static getPubKey(address: string): string; static encodePubKey(pubKey: string): string; } export declare class SuiAddr { static isValid(address: string): boolean; }