import type { BaseNetwork } from './network.js'; export type ContentLookupResponse = { content: Uint8Array; utp: boolean; } | { enrs: Uint8Array[]; } | undefined; export declare class ContentLookup { private network; private lookupPeers; private contacted; private contentId; private contentKey; private logger; private uTPlistener; constructor(network: BaseNetwork, contentKey: Uint8Array); /** * Queries the 5 nearest nodes in the history network routing table and recursively * requests peers closer to the content until either the content is found or there are no more peers to query */ startLookup: () => Promise; } //# sourceMappingURL=contentLookup.d.ts.map