import type { Codec, DecodeOptions } from 'protons-runtime';
import type { Uint8ArrayList } from 'uint8arraylist';
export interface PeerRecord {
    peerId: Uint8Array;
    seq: bigint;
    addresses: PeerRecord.AddressInfo[];
}
export declare namespace PeerRecord {
    interface AddressInfo {
        multiaddr: Uint8Array;
    }
    namespace AddressInfo {
        const codec: () => Codec<AddressInfo>;
        const encode: (obj: Partial<AddressInfo>) => Uint8Array;
        const decode: (buf: Uint8Array | Uint8ArrayList, opts?: DecodeOptions<AddressInfo>) => AddressInfo;
    }
    const codec: () => Codec<PeerRecord>;
    const encode: (obj: Partial<PeerRecord>) => Uint8Array;
    const decode: (buf: Uint8Array | Uint8ArrayList, opts?: DecodeOptions<PeerRecord>) => PeerRecord;
}
//# sourceMappingURL=peer-record.d.ts.map