import type { Ref } from '@stacksjs/stx'; /** * Reactive geolocation. * Tracks the user's geographic position using the Geolocation API. * * @param options - PositionOptions plus an immediate flag (default: true) * @returns Reactive coords, location timestamp, error, support status, and pause/resume controls */ export declare function useGeolocation(options?: PositionOptions & { immediate?: boolean }): UseGeolocationReturn; export declare interface UseGeolocationCoords { latitude: Ref longitude: Ref accuracy: Ref altitude: Ref altitudeAccuracy: Ref heading: Ref speed: Ref } export declare interface UseGeolocationReturn { coords: UseGeolocationCoords locatedAt: Ref error: Ref isSupported: Ref pause: () => void resume: () => void }