UNPKG

@convex-dev/geospatial

Version:
20 lines 620 B
import { Heap } from "heap-js"; import type { TupleKey } from "../lib/tupleKey.js"; import type { PointSet } from "./zigzag.js"; type HeapEntry = { tuple: TupleKey; stream: PointSet; }; export declare class Union implements PointSet { private streams; private heap?; constructor(streams: Array<PointSet>); initializeHeap(): Promise<Heap<HeapEntry>>; current(): Promise<TupleKey | null>; advance(): Promise<TupleKey | null>; seek(tuple: TupleKey): Promise<void>; sizeHint(): Promise<number>; setPrefetch(prefetch: number): void; } export {}; //# sourceMappingURL=union.d.ts.map