{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"","sourcesContent":["export interface KeepAwakePlugin {\n /**\n * Prevent the device from dimming the screen.\n */\n keepAwake(): Promise;\n /**\n * Allow the device to dim the screen.\n */\n allowSleep(): Promise;\n /**\n * Whether keep awake is supported or not.\n */\n isSupported(): Promise;\n /**\n * Check if the device is kept awake.\n */\n isKeptAwake(): Promise;\n}\n\nexport interface IsSupportedResult {\n isSupported: boolean;\n}\n\nexport interface IsKeptAwakeResult {\n isKeptAwake: boolean;\n}\n"]}