import type PeerId from 'peer-id'; import type { QueryEvent } from '../types'; export interface QueryContext { key: Uint8Array; peer: PeerId; signal: AbortSignal; pathIndex: number; numPaths: number; } /** * Query function */ export interface QueryFunc { (context: QueryContext): AsyncIterable; } //# sourceMappingURL=types.d.ts.map