export declare enum NoSleepType { PreventUserIdleDisplaySleep = "PreventUserIdleDisplaySleep", PreventUserIdleSystemSleep = "PreventUserIdleSystemSleep" } export declare function block(noSleepType: NoSleepType): Promise; export declare function unblock(): Promise;