/**
 * Handle mouse movement inside an SVG
 * @module Mouse
 * @group UI
 * */
import type { Ref } from "vue";
/**
 * @interface {reactive} Mouse
 * @property {Number} x - absolute X coordinate to place a marker to
 * @property {Number} y - absolute Y coordinate to place a marker to
 * @property {Number} normX - [0-1] relative X coordinate
 * @property {Number} normY - [0-1] relative Y coordinate
 * @property {Boolean} pressed - is mouse pressed?
 * @property {Boolean} inside - is mouse inside the area?
 */
export interface Mouse {
    x: number;
    y: number;
    normX: number;
    normY: number;
    pressed: boolean;
    inside: boolean;
}
export interface useMouse {
    area: Ref;
    mouse: Mouse;
}
/**
 * Correct mouse position in an SVG space
 */
export declare function useSvgMouse(area?: Ref<any>): useMouse;
