type GeolocationCoordinatesState = { latitude: number | null; longitude: number | null; accuracy: number | null; altitude: number | null; altitudeAccuracy: number | null; heading: number | null; speed: number | null; }; type UseGeolocationOptions = PositionOptions & { watch?: boolean; }; type UseGeolocationReturn = GeolocationCoordinatesState & { coords: GeolocationCoordinatesState; error: GeolocationPositionError | Error | null; loading: boolean; supported: boolean; }; export declare function useGeolocation(options?: UseGeolocationOptions): UseGeolocationReturn; export type { GeolocationCoordinatesState, UseGeolocationOptions, UseGeolocationReturn, };