import { BboxEnclosedPoints, BboxPoint, BboxPoints, HoverInfo } from '../types'; /** * Interface for the onHover function props. */ interface OnHoverProps { /** Information about the hover event. */ info: HoverInfo; /** Updated available area as an array of coordinates. */ updatedAvailableArea: BboxEnclosedPoints | null; /** Current coordinates of the active bounding box. */ activeBboxPoints: BboxPoints | BboxPoint | []; /** Minimum area required for the bounding box. */ minBorderRange: number; /** Indicates if the edit mode is active. */ editModeIsActive: boolean; /** Function to set the bounding box hover state. */ setBboxIsHovered: (state: string | boolean) => void; /** Function to set the active bounding box points. */ setActiveBboxPoints: (points: BboxPoints | BboxPoint | []) => void; /** Function to set predicted hovered points. */ setPredictedHoveredPoints: (points: BboxPoints | null) => void; /** Callback function to handle changes in bounding box coordinates. */ onBboxCoordinatesChange: (bbox: BboxPoints | BboxPoint | null) => void; } /** * Handles hover events on a bounding box layer. * * @param {OnHoverProps} props - The props for the onHover function. */ export declare const onHover: ({ info, updatedAvailableArea, activeBboxPoints, minBorderRange, editModeIsActive, setBboxIsHovered, setActiveBboxPoints, setPredictedHoveredPoints, onBboxCoordinatesChange, }: OnHoverProps) => void; export {};