import { PhonePeEmitterSubscription } from './../subscription/PhonePeEmitterSubscription'; import { MessagingHandler as MHImported } from './web/MessagingHandler'; import { EventHandler as EHImported } from './web/EventHandler'; import { ExternalConstants } from '../constants/PhonePeSDKExternalConstants'; import { ExternalPaymentModels } from './../modules/payment/ExternalPaymentModels'; import Permission = ExternalConstants.Permission; import PPTransactionState = ExternalPaymentModels.TransactionState; import PPActionButtonProp = ExternalPaymentModels.ActionButtonProp; import OrientationMode = ExternalConstants.OrientationMode; import BlueToothListenerEvents = ExternalConstants.BlueToothListenerEvents; export declare const MessagingHandler: typeof MHImported; export declare const EventHandler: typeof EHImported; export declare const Constants: typeof ExternalConstants; export declare const PaymentModels: typeof ExternalPaymentModels; export declare class PhonePe { static loggingEnabled: boolean; private preferencesModule; private navigationModule; private cameraBridge; private locationModule; private permissionsBridge; private analyticsBridge; private authBridge; private deviceInfoBridge; private bleManagerBridge; private orderActionBridge; private filePickerBridge; private orientationBridge; private videoPlayerBridge; private species; private constructor(); static build(species: string, operatingSystem?: string): Promise; static getOperatingSystem(species: string): string; getItem(preferenceName: string, key: string, defaultValue?: string): Promise; setItem(preferenceName: string, key: string, value: string): Promise; removeItem(preferenceName: string, key: string): Promise; startUpdatingLocation(): void; stopUpdatingLocation(): void; getCurrentLocation(): Promise; registerLocationUpdateSuccessCallback(callbackName: string, callback: (response: any) => void): Promise; registerLocationUpdateFailureCallback(callbackName: string, callback: (response: any) => void): Promise; openPaymentsPage(merchantName: string, context: { [key: string]: any; }, fallbackURL?: string, imageURL?: string, orderedMetaData?: [{ [key: string]: string; }], confirmationActionButtonProperties?: Partial<{ [key in PPTransactionState]: PPActionButtonProp; }>): Promise; openTransactionDetailsPage(transactionId: string): Promise; seekPermission(listOfPermissions: Permission[]): Promise; openSettingsPageForPermission(): Promise; scanQRCode(showGallery: boolean, validatorRegex?: string): Promise; startCamera(): Promise; loadFont(name: string, base64FontString: string, type: string): Promise; logMerchantEvent(name: string, metadata: { [key: string]: string; } | undefined): Promise; fetchGrantToken(): Promise; fetchPermissionGrantToken(permissions: Array): Promise; fetchAuthToken(): Promise; createServiceRequestToken(): Promise; getDeviceInfo(): Promise; bluetoothRead(peripheralId: string, serviceUUID: string, characteristicUUID: string): Promise; bluetoothReadRSSI(peripheralId: string): Promise; registerBluetoothOperationSuccessCallback(callbackName: string, eventName: BlueToothListenerEvents, callback: (response: any) => void): Promise; bluetoothRefreshCache(peripheralId: string): Promise; bluetoothRetrieveServices(peripheralId: string, services: string): Promise; bluetoothWrite(peripheralId: string, serviceUUID: string, characteristicUUID: string, data: any, maxByteSize?: number): Promise; bluetoothWriteWithoutResponse(peripheralId: string, serviceUUID: string, characteristicUUID: string, data: any, maxByteSize?: number, queueSleepTime?: number): Promise; bluetoothConnect(peripheralId: string): Promise; bluetoothCreateBond(peripheralId: string): Promise; bluetoothRemoveBond(peripheralId: string): Promise; bluetoothDisconnect(peripheralId: string): Promise; bluetoothStartNotification(peripheralId: string, serviceUUID: string, characteristicUUID: string): Promise; bluetoothStopNotification(peripheralId: string, serviceUUID: string, characteristicUUID: string): Promise; bluetoothCheckState(): void; bluetoothStart(options: any): Promise; bluetoothScan(serviceUUIDs: string[], seconds: number, allowDuplicates?: boolean, scanningOptions?: any): Promise; bluetoothStopScan(): Promise; bluetoothEnableBluetooth(): Promise; bluetoothGetConnectedPeripherals(serviceUUIDs: string[]): Promise; bluetoothGetBondedPeripherals(): Promise; bluetoothGetDiscoveredPeripherals(): Promise; bluetoothRemovePeripheral(peripheralId: string): Promise; bluetoothIsPeripheralConnected(peripheralId: string, serviceUUIDs: string[]): Promise; bluetoothRequestConnectionPriority(peripheralId: string, connectionPriority: string): Promise; bluetoothRequestMTU(peripheralId: string, mtu: string): Promise; reserveOrder(response: string, providerId: string): Promise; proceedToPay(reservationId: string, fallbackURL?: string): Promise; openPaymentsPageForReservedOrder(merchantName: string, response: string, fallbackURL?: string, imageURL?: string, orderedMetaData?: [{ [key: string]: string; }], confirmationActionButtonProperties?: Partial<{ [key in PPTransactionState]: PPActionButtonProp; }>): Promise; makeCommonPaymentsPageCall(version: string, merchantName: string, context: { [key: string]: any; }, fallbackURL?: string, imageURL?: string, orderedMetaData?: [{ [key: string]: string; }], confirmationActionButtonProperties?: Partial<{ [key in PPTransactionState]: PPActionButtonProp; }>): Promise; selectFile(mimeType: string, allowMultiple: boolean): Promise; readFile(uri: string, offset: number, length: number): Promise; changeOrientation(orientationType: OrientationMode): Promise; requestFullScreenMode(): void; requestExitFullScreenMode(): void; closeApp(): void; openMicroApp(appUniqueId: string): Promise; navigateToMap(latitude: number, longitude: number): Promise; isVideoCallingEnabled(): boolean; startVideoPlayer(configuration: string): Promise; isMethodSupported(methodName: string): boolean; }