import type { ScreenPoint } from '..'; import { Element } from '..'; /** * Represents a hit test result. */ export interface HitTestResult { /** * the element that was hit. */ element: Element; /** * the position of the nearest hit point. */ nearestHitPoint: ScreenPoint; /** * the item of the hit (if available). */ item?: any; /** * the index of the hit (if available). * If the hit was in the middle between point 1 and 2, index = 1.5. */ index?: number; } //# sourceMappingURL=HitTestResult.d.ts.map