/** * App hit-testing helpers (spatial index + tree walk). */ import type { Group } from '../shapes/Group'; import type { Node } from '../Node'; import type { SpatialIndex } from '../performance/SpatialIndex'; /** Hit-test using spatial index candidates. */ export declare function hitTestSpatial(spatialIndex: SpatialIndex, worldX: number, worldY: number): Node | null; /** Recursive hit-test walking the scene tree (front-to-back). */ export declare function hitTestNode(group: Group, worldX: number, worldY: number): Node | null;