/** * Holds a screen wake lock while wanted, so the display doesn't sleep (and the * tab isn't throttled) in the middle of an install. Does nothing in browsers * without the Screen Wake Lock API. * * The browser drops the lock whenever the page is hidden, so it is requested * again when the page becomes visible while the lock is still wanted. */ export declare class ScreenWakeLock { private _wanted; private _sentinel?; acquire(): Promise; release(): Promise; private _handleVisibility; private _request; }