import { type Libp2p } from 'libp2p'; import type { Multiaddr } from '@multiformats/multiaddr'; import type { PeerId } from '@libp2p/interface-peer-id'; import { type PublicNodesEmitter } from '@hoprnet/hopr-connect'; import Hopr, { type HoprOptions } from './index.js'; export declare function createLibp2pInstance(peerId: PeerId, options: HoprOptions, initialNodes: { id: PeerId; multiaddrs: Multiaddr[]; }[], publicNodes: PublicNodesEmitter, isAllowedToAccessNetwork: Hopr['isAllowedAccessToNetwork']): Promise; export declare function createHoprNode(peerId: PeerId, options: HoprOptions, automaticChainCreation?: boolean): Promise; //# sourceMappingURL=main.d.ts.map