import type { TestSetup } from '../index.ts'; import type { Multiaddr } from '@multiformats/multiaddr'; import type { MultiaddrMatcher } from '@multiformats/multiaddr-matcher'; import type { Libp2pInit } from 'libp2p'; export interface TransportTestFixtures { /** * Addresses that will be used to dial listeners - both addresses must resolve * to the same node */ dialAddrs?: [Multiaddr, Multiaddr]; /** * Filter out any addresses that cannot be dialed by the transport */ dialMultiaddrMatcher: MultiaddrMatcher; /** * Filter out any addresses that cannot be listened on by the transport */ listenMultiaddrMatcher: MultiaddrMatcher; /** * Config that creates a libp2p node that can dial a listener */ dialer: Libp2pInit; /** * Config that creates a libp2p node that can accept dials */ listener?: Libp2pInit; } declare const _default: (common: TestSetup) => void; export default _default; //# sourceMappingURL=index.d.ts.map