import type { AddressFilter } from '../index.js';
import type { Peer as PeerPB } from '../pb/peer.js';
import type { ExistingPeer } from '../store.js';
import type { PeerId, PeerData } from '@libp2p/interface';
import type { AbortOptions } from '@multiformats/multiaddr';
export interface ToPBPeerOptions extends AbortOptions {
    addressFilter?: AddressFilter;
    existingPeer?: ExistingPeer;
}
export declare function toPeerPB(peerId: PeerId, data: Partial<PeerData>, strategy: 'merge' | 'patch', options: ToPBPeerOptions): Promise<PeerPB>;
//# sourceMappingURL=to-peer-pb.d.ts.map