import { WebPlugin } from '@capacitor/core'; import type { BackgroundGeolocationPlugin, StartOptions, Location, CallbackError, SetPlannedRouteOptions, GeofenceSetupOptions, AddGeofenceOptions, RemoveGeofenceOptions, MonitoredGeofencesResult, BackgroundGeolocationPermissionStatus, UpdateHeadersOptions } from './definitions'; export declare class BackgroundGeolocationWeb extends WebPlugin implements BackgroundGeolocationPlugin { private static readonly EARTH_RADIUS_M; private watchId; private geofenceWatchId; private plannedRoute; private audio; private isOffRoute; private distanceThreshold; private geofences; private geofenceUrl; private geofenceHeaders; private geofencePayload; private notifyOnEntry; private notifyOnExit; start(options: StartOptions, callback: (position?: Location, error?: CallbackError) => void): Promise; stop(): Promise; openSettings(): Promise; setPlannedRoute(options: SetPlannedRouteOptions): Promise; setupGeofencing(options: GeofenceSetupOptions): Promise; updateHeaders(options: UpdateHeadersOptions): Promise; addGeofence(options: AddGeofenceOptions): Promise; removeGeofence(options: RemoveGeofenceOptions): Promise; removeAllGeofences(): Promise; getMonitoredGeofences(): Promise; checkPermissions(): Promise; requestPermissions(): Promise; private validateGeofence; private startGeofenceWatch; private stopGeofenceWatchIfIdle; private checkGeofences; private emitGeofenceTransition; private toRadians; private haversine; private distancePointToLineSegment; private distancePointToRoute; getPluginVersion(): Promise<{ version: string; }>; }