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