import type { TelematicsSdk } from './TelematicsSdk'; import { AccidentDetectionSensitivity, ApiLanguage, DeviceIdRegistrationStatus, TrackingMode, TrackingStatus } from './types'; export { AccidentDetectionSensitivity, ApiLanguage, DeviceIdRegistrationStatus, TrackingMode, TrackingStatus, }; export type { AndroidPermissionWizardOptions, AndroidPermissionWizardThemeMode, DeviceIdRegistrationState, IosMissingPermissionsAlertConfiguration, IosPermissionWizardConfiguration, IosPermissionWizardPageConfiguration, IosPermissionWizardStatusConfiguration, IosPermissionWizardTheme, StringDictionary, TrackingState, } from './types'; /** Payload emitted when iOS Low Power Mode changes. */ export type LowPowerModeEvent = { enabled: boolean; }; /** Geographic position emitted by the native SDK. */ export type LocationChangedEvent = { latitude: number; longitude: number; }; /** Details of a detected speed-limit violation. */ export type SpeedViolationEvent = { date: number; latitude: number; longitude: number; speed: number; speedLimit: number; }; /** `true` while the native SDK reports an active tracking session. */ export type TrackingStateChangedEvent = boolean; export type { TelematicsSdk }; declare const telematicsSdk: TelematicsSdk; export default telematicsSdk; /** * Subscribes to iOS Low Power Mode changes. * @throws {Error} When called on a non-iOS platform. * @returns A subscription; call `remove()` during component cleanup. */ export declare function addOnLowPowerModeListener(handler: (event: LowPowerModeEvent) => void): import("react-native").EmitterSubscription; /** * Subscribes to locations emitted by the native SDK on iOS and Android. * @returns A subscription; call `remove()` during component cleanup. */ export declare function addOnLocationChangedListener(handler: (event: LocationChangedEvent) => void): import("react-native").EmitterSubscription; /** * Subscribes to changes in whether native tracking is active. * @returns A subscription; call `remove()` during component cleanup. */ export declare function addOnTrackingStateChangedListener(handler: (state: boolean) => void): import("react-native").EmitterSubscription; /** * Subscribes to iOS notifications that location accuracy authorization is insufficient. * @throws {Error} When called on a non-iOS platform. * @returns A subscription; call `remove()` during component cleanup. */ export declare function addOnWrongAccuracyAuthorizationListener(handler: () => void): import("react-native").EmitterSubscription; /** * Subscribes to iOS real-time-location-data collection events. * @throws {Error} When called on a non-iOS platform. * @returns A subscription; call `remove()` during component cleanup. */ export declare function addOnRtldColectedData(handler: () => void): import("react-native").EmitterSubscription; /** * Subscribes to speed-limit violations emitted by the native SDK. * @returns A subscription; call `remove()` during component cleanup. */ export declare function addOnSpeedViolationListener(handler: (event: SpeedViolationEvent) => void): import("react-native").EmitterSubscription; //# sourceMappingURL=index.d.ts.map