import { PhonePeEmitterSubscription } from '../../subscription/PhonePeEmitterSubscription'; export declare enum LOCATION_PRIORITY { PRIORITY_HIGH_ACCURACY = 0, PRIORITY_BALANCED_POWER_ACCURACY = 1, PRIORITY_LOW_POWER = 2, PRIORITY_NO_POWER = 3, } export interface LocationBridgeContract { startUpdatingLocation(): void; stopUpdatingLocation(): void; getCurrentLocation(forceNewLocation: boolean): Promise; onLocationUpdateSuccess(callbackName: string, callback: (response: any) => void): PhonePeEmitterSubscription; onLocationUpdateFailure(callbackName: string, callback: (response: any) => void): PhonePeEmitterSubscription; getAddress(latitude: number, longitude: number): Promise; isLocationTurnedOn(): Promise; turnOnLocation(): Promise; setLocationPriority(locationPriority: LOCATION_PRIORITY): void; }