import { type DetectionFrame } from "#types/detections"; import { type DetectionPickOptions, type DetectionPickPoint, type DetectionPickResult } from "#types/interaction"; export declare function pickDetectionAtPoint(frame: DetectionFrame | undefined, point: DetectionPickPoint, options?: DetectionPickOptions): DetectionPickResult | null; export declare function createDetectionPickKey(pick: DetectionPickResult | null): string | null; /** * Compares the frame-independent membership of two ordered selections. * * Detection ids retain their runtime type, so numeric `1` and string `"1"` * remain distinct identities. Anonymous detections keep their frame-local * index identity. */ export declare function haveSameDetectionPickIdentities(current: readonly DetectionPickResult[], next: readonly DetectionPickResult[]): boolean; export declare function rebaseDetectionPickToFrame(pick: DetectionPickResult | null, frame: DetectionFrame | undefined): DetectionPickResult | null; /** * Carries a pick forward onto a different frame of the same timeline. * * Same-frame rebases behave exactly like `rebaseDetectionPickToFrame`. Across * frames, the pick follows its detection only when the detection id is defined * and unique in both frames, so anonymous and duplicate-id detections keep the * per-frame lifetime they have today. Returns `null` when the detection has no * followable identity or has left the frame. */ export declare function followDetectionPickAcrossFrames(pick: DetectionPickResult | null, frame: DetectionFrame | undefined): DetectionPickResult | null; export declare function pickDetectionByMaskId(frame: DetectionFrame | undefined, maskId: number, point: DetectionPickPoint): DetectionPickResult | null; //# sourceMappingURL=detection-picker.d.ts.map