import type { PeerId } from '@libp2p/interface'; /** * Calls the passed map function on every entry of the passed iterable iterator */ export declare function mapIterable(iter: IterableIterator, map: (val: T) => R): IterableIterator; export declare function peerIdFromString(str: string): PeerId; //# sourceMappingURL=util.d.ts.map