import { BboxPoint, BboxPoints, Coordinate } from '../types'; /** * Interface for the addPointToMap function props. */ interface AddPointToMapProps { /** The new coordinates to add as a point. */ coordinates: Coordinate; /** The currently active bounding box points. */ activeBboxPoints: Array; /** Indicates if the operation is in draft mode. */ isDraft: boolean; /** Function to update the active bounding box points. */ setActiveBboxPoints: (activeBboxPoints: BboxPoints | BboxPoint | []) => void; /** Function to set predicted hovered points. */ setPredictedHoveredPoints: (predictedHoveredPoints: BboxPoints | null) => void; /** Callback function to execute when dragging is finished. */ onFinishDragging: (activeBboxPoints: BboxPoints | BboxPoint | []) => void; } /** * Adds a new bounding box (bbox) point to the map. * Requires two points to define a bbox, so this function can be called twice. * If the first point is already active, it adds all bbox points. * * @param {AddPointToMapProps} props - The props for the addPointToMap function. */ export declare const addPointToMap: ({ coordinates, activeBboxPoints, isDraft, setActiveBboxPoints, setPredictedHoveredPoints, onFinishDragging, }: AddPointToMapProps) => void; export {};