import { BinaryWriter, SerializableWire, SerializeWire } from '@neo-one/client-common'; import { DeserializeWireBaseOptions, DeserializeWireOptions } from '@neo-one/node-core'; import BN from 'bn.js'; import { Address6 } from 'ip-address'; export interface NetworkAddressAdd { readonly host: string; readonly port: number; readonly timestamp: number; readonly services: BN; } export declare class NetworkAddress implements SerializableWire { static deserializeWireBase({ reader }: DeserializeWireBaseOptions): NetworkAddress; static deserializeWire(options: DeserializeWireOptions): NetworkAddress; static isValid(host: string): boolean; static getAddress6(host: string): Address6 | null | undefined; readonly host: string; readonly port: number; readonly timestamp: number; readonly services: BN; readonly serializeWire: SerializeWire; constructor({ host, port, timestamp, services }: NetworkAddressAdd); serializeWireBase(writer: BinaryWriter): void; }