import type { Config } from './types/Config'; import type { State } from './types/State'; import type { Location, CurrentPositionOptions, LastKnownLocationOptions, WatchPositionOptions, SQLQuery } from './types/Location'; import type { Geofence } from './types/Geofence'; import type { MotionChangeEvent, ActivityChangeEvent, ProviderChangeEvent, GeofenceEvent, GeofencesChangeEvent, HeartbeatEvent, HttpEvent, ConnectivityChangeEvent, AuthorizationEvent, HeadlessEvent, Sensors, DeviceInfo } from './types/Events'; import type { AuthorizationStatus, AccuracyAuthorization } from './types/Enums'; /** Event subscription handle. Call remove() to unsubscribe. */ export interface Subscription { remove(): void; } /** * Tracelet — production-grade background geolocation for React Native. * * All methods are static. The underlying native module is a singleton. */ export declare class Tracelet { static ready(config: Config): Promise; static start(): Promise; static stop(): Promise; static startGeofences(): Promise; static startPeriodic(): Promise; static getState(): Promise; static setConfig(config: Partial): Promise; static reset(config?: Config): Promise; static getCurrentPosition(options?: CurrentPositionOptions): Promise; static getLastKnownLocation(options?: LastKnownLocationOptions): Promise; static watchPosition(options: WatchPositionOptions): Promise; static stopWatchPosition(watchId: number): Promise; static changePace(isMoving: boolean): Promise; static getOdometer(): Promise; static setOdometer(value: number): Promise; static addGeofence(geofence: Geofence): Promise; static addGeofences(geofences: Geofence[]): Promise; static removeGeofence(identifier: string): Promise; static removeGeofences(): Promise; static getGeofences(): Promise; static getGeofence(identifier: string): Promise; static geofenceExists(identifier: string): Promise; static getLocations(query?: SQLQuery): Promise; static getCount(): Promise; static destroyLocations(): Promise; static destroyLocation(uuid: string): Promise; static insertLocation(location: Partial): Promise; static sync(): Promise; static requestPermission(): Promise; static getPermissionStatus(): Promise; static requestNotificationPermission(): Promise; static getNotificationPermissionStatus(): Promise; static requestMotionPermission(): Promise; static getMotionPermissionStatus(): Promise; static requestTemporaryFullAccuracy(purposeKey: string): Promise; static canScheduleExactAlarms(): Promise; static isPowerSaveMode(): Promise; static getProviderState(): Promise; static getSensors(): Promise; static getDeviceInfo(): Promise; static onLocation(callback: (location: Location) => void): Subscription; static onMotionChange(callback: (event: MotionChangeEvent) => void): Subscription; static onActivityChange(callback: (event: ActivityChangeEvent) => void): Subscription; static onProviderChange(callback: (event: ProviderChangeEvent) => void): Subscription; static onGeofence(callback: (event: GeofenceEvent) => void): Subscription; static onGeofencesChange(callback: (event: GeofencesChangeEvent) => void): Subscription; static onHeartbeat(callback: (event: HeartbeatEvent) => void): Subscription; static onHttp(callback: (event: HttpEvent) => void): Subscription; static onSchedule(callback: (event: HeadlessEvent) => void): Subscription; static onPowerSaveChange(callback: (isPowerSave: boolean) => void): Subscription; static onConnectivityChange(callback: (event: ConnectivityChangeEvent) => void): Subscription; static onEnabledChange(callback: (enabled: boolean) => void): Subscription; static onNotificationAction(callback: (action: string) => void): Subscription; static onAuthorization(callback: (event: AuthorizationEvent) => void): Subscription; } //# sourceMappingURL=Tracelet.d.ts.map