import { Viewer } from "../../../viewer"; import { PointerCircle } from "../../../extras/PointerCircle"; type Vec2 = number[] type Vec3 = number[] type Ray2WorldPos = (origin: Vec3, direction: Vec3) => T | null; type Cleanup = () => void; type OnCancel = () => void; type OnChange = (canvasPos: Vec2, worldPos: T | null) => void; type OnCommit = (canvasPos: Vec2, worldPos: T | null) => void; declare function touchPointSelector(viewer: Viewer, pointerCircle: PointerCircle, ray2WorldPos: Ray2WorldPos): (onCancel: OnCancel, onChange: OnChange, onCommit: OnCommit) => Cleanup;