import { File } from '@ionic-native/file'; import { IDeviceStartUpService } from './device-start-up-service'; export declare class DeviceService { private file; private _registry; private _isReady; private _whenReadyPromises; private _backBtnTapListeners; private _startUpServices; constructor(file: File); addStartUpService(service: IDeviceStartUpService): void; onBackButtonTap(fn: ($event: any) => boolean): () => void; start(): Promise; 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; }