import { BboxEnclosedPoints, BboxPoint, BboxPoints, Coordinate } from '../types'; /** * Interface for the editLayerBorder function props. */ interface EditLayerBorderProps { /** The coordinates of the drag event. */ coordinates: Coordinate[]; /** Current active bounding box points. */ activeBboxPoints: BboxPoints | BboxPoint | []; /** Original coordinates of the line points. */ originLinePointCoordinates: Coordinate[]; /** Updated available latitude area. */ updatedAvailableAreaLat: Coordinate | undefined; /** Updated available longitude area. */ updatedAvailableAreaLong: Coordinate | undefined; /** Minimum area allowed for the bounding box. */ minBorderRange: number; /** Updated available area coordinates. */ updatedAvailableArea: BboxEnclosedPoints | null; /** Function to update active bounding box points. */ setActiveBboxPoints: (activeBboxPoints: BboxPoints | BboxPoint | []) => void; /** Function to set original bbox border coordinates. */ setOriginalBboxBorderCoordinates: (current: Coordinate[]) => void; } /** * Handles the editing of bounding box (bbox) borders when they are dragged. * Adjusts the bbox coordinates based on the drag distance, ensuring the bbox * does not become smaller than the minimum allowed area. * * @param {EditLayerBorderProps} props - The props for the editLayerBorder function. */ export declare const editLayerBorder: ({ coordinates, activeBboxPoints, originLinePointCoordinates, updatedAvailableAreaLat, updatedAvailableAreaLong, minBorderRange, updatedAvailableArea, setActiveBboxPoints, setOriginalBboxBorderCoordinates, }: EditLayerBorderProps) => void; export {};