import { BboxEnclosedPoints, BboxPoint, BboxPoints, Coordinate } from '../types'; /** * Interface for the dragLayer function props. */ interface DragLayerProps { /** An array containing the previous and current coordinates of the drag. */ coordinates: BboxPoint; /** Current coordinates of the active bounding box. */ activeBboxPoints: BboxPoints | BboxPoint | []; /** Updated latitude bounds of the available area. */ updatedAvailableAreaLat?: Coordinate; /** Updated longitude bounds of the available area. */ updatedAvailableAreaLong?: Coordinate; /** Minimum area required for the bounding box. */ minBorderRange: number; /** Updated available area as an array of coordinates. */ updatedAvailableArea: BboxEnclosedPoints | null; /** Function to update the active bounding box points. */ setActiveBboxPoints: (activeBboxPoints: BboxPoints | BboxPoint | []) => void; } /** * Handles the dragging of a bounding box (bbox). * Updates the active bbox coordinates based on the drag distance. * * @param {DragLayerProps} props - The props for the dragLayer function. */ export declare const dragLayer: ({ coordinates, activeBboxPoints, updatedAvailableAreaLat, updatedAvailableAreaLong, minBorderRange, updatedAvailableArea, setActiveBboxPoints, }: DragLayerProps) => void; export {};