import { MapView } from '../../../shared/models/models.mapView'; /** * Custom hook to calculate scale bar properties for a map. * * @param {number} maxWidth - The maximum width of the scale bar in pixels. * @param {MapView | null} mapView - The current map view object containing zoom and latitude. * @returns {Object|null} An object containing scale bar properties: * - `width`: The width of the scale bar in pixels. * - `label`: A human-readable label for the scale bar (e.g., "500 m" or "1.5 km"). */ export declare const useScaleBar: (mapView: MapView | null, maxWidth: number) => { width: number; label: string; } | null;