/** * Given an event, get the relative X/Y position for a target. */ export declare function getPositionForTarget({ target, clientX, clientY }: { target: any; clientX: any; clientY: any; }): { x: number; y: number; }; /** * Get the point from a touch event. */ export declare function getPointFromTouch(touch: Touch, target: SVGElement): { x: number; y: number; }; /** * Given a point position, get the closes data point in the dataset. */ export declare function getClosestPoint(pos: number, scale: any, data: any, attr?: string): any;