import type { DisjointPath, QueryEvent } from '../index.js'; import type { PeerInfo } from '@libp2p/interface'; export interface QueryContext { key: Uint8Array; peer: PeerInfo; peerKadId: Uint8Array; signal?: AbortSignal; path: DisjointPath; numPaths: number; } /** * Query function */ export interface QueryFunc { (context: QueryContext): AsyncIterable; } //# sourceMappingURL=types.d.ts.map