import { NetworkType } from '../../model/network/NetworkType'; export declare class RawAddress { static readonly constants: { sizes: { ripemd160: number; addressDecoded: number; addressEncoded: number; key: number; checksum: number; }; }; /** * Converts an encoded address string to a decoded address. * @param {string} encoded The encoded address string. * @returns {Uint8Array} The decoded address corresponding to the input. */ static stringToAddress: (encoded: string) => Uint8Array; /** * Format a namespaceId *alias* into a valid recipient field value. * @param {Uint8Array} namespaceId The namespaceId * @param {networkType} the network type serialized in the output. * @returns {Uint8Array} The padded notation of the alias */ static aliasToRecipient: (namespaceId: Uint8Array, networkType: NetworkType) => Uint8Array; /** * Converts a decoded address to an encoded address string. * @param {Uint8Array} decoded The decoded address. * @returns {string} The encoded address string corresponding to the input. */ static addressToString: (decoded: Uint8Array) => string; /** * Converts a public key to a decoded address for a specific network. * @param {Uint8Array} publicKey The public key. * @param {NetworkType} networkType The network identifier. * @returns {Uint8Array} The decoded address corresponding to the inputs. */ static publicKeyToAddress: (publicKey: Uint8Array, networkType: NetworkType) => Uint8Array; /** * Determines the validity of a decoded address. * @param {Uint8Array} decoded The decoded address. * @returns {boolean} true if the decoded address is valid, false otherwise. */ static isValidAddress: (decoded: Uint8Array) => boolean; }