import { File } from '@ionic-native/file'; import { IDeviceStartUpService } from './device-start-up-service'; export declare class DeviceService { private file; static readonly SERVICE_NAME = "DeviceService"; private _registry; private _isReady; private _whenReadyPromises; private _backBtnTapListeners; private _startUpServices; constructor(file: File); executeBackTapListeners($event: any): void; addStartUpService(service: IDeviceStartUpService): void; onBackButtonTap(fn: ($event: any) => boolean): () => void; start(): Promise; getServiceName(): string; whenReady(): Promise; /** * @returns {Promise} promise resolved with the app build time */ getAppBuildTime(): Promise; /** * Stores an entry that survives app restarts and updates. * * @param {string} key * @param {Object} value * @returns {Promise} */ storeEntry(key: string, value: Object): Promise; /** * @param {string} key * @returns {any} entry corresponding to the key */ getEntry(key: string): any; }