import { Storage, StorageKey, StorageKeyReturnType } from '@tezos-x/octez.connect-types'; import { ArrayElem } from './StorageManager'; /** * @internalapi * * The PeerManager provides CRUD functionality for peer entities and persists them to the provided storage. */ export declare class PeerManager { private readonly storageManager; constructor(storage: Storage, key: T); hasPeer(publicKey: string): Promise; getPeers(): Promise; getPeer(publicKey: string): Promise | undefined>; addPeer(peerInfo: ArrayElem): Promise; removePeer(publicKey: string): Promise; removePeers(publicKeys: string[]): Promise; removeAllPeers(): Promise; }