import { GeolocateControl, Map, GeolocateControlOptions, ControlPosition } from 'maplibre-gl'; import { ShallowRef, MaybeRef } from 'vue'; import { Nullable } from '../../types'; interface GeolocateControlProps { map: MaybeRef>; position?: ControlPosition; options?: GeolocateControlOptions; debug?: boolean; } interface GeolocateControlActions { geolocateControl: ShallowRef>; isControlAdded: ShallowRef; removeControl: () => void; addControl: () => void; trigger: () => void; } /** * Composable for managing MapLibre GL Geolocate Control * Provides reactive geolocate control with error handling and lifecycle management * * @param props - Configuration options for the geolocate control * @returns Actions and state for the geolocate control */ export declare function useGeolocateControl({ map, position, options, debug, }: GeolocateControlProps): GeolocateControlActions; export {};