import type { BrightnessValue } from './ExpoWindowBrightness.types'; /** * Sets the screen brightness at the **window** level. * * On **Android** this overrides the system brightness only for the current * window; other apps are unaffected. * * On **iOS** this sets `UIScreen.main.brightness`, which is a global value. * Apple does not provide a window-scoped API. * * @param value - Brightness level in the range [0.0, 1.0]. * @throws {RangeError} if `value` is outside [0.0, 1.0] (JS-side guard). * @throws Native `ERR_BRIGHTNESS_RANGE` if the native layer rejects the value. */ export declare function setBrightness(value: BrightnessValue): Promise; /** * Restores the screen brightness to the system / user default. * * On **Android** this clears the window-level override * (`BRIGHTNESS_OVERRIDE_NONE`), handing control back to the system. * * On **iOS** this is a **no-op**: Apple provides no public API to read and * restore the ambient/system brightness level. */ export declare function restoreBrightness(): Promise; /** * Returns the current brightness level. * * On **Android**, returns the window-level brightness override in [0.0, 1.0], * or **-1** when no override is active (the system brightness is in control). * * On **iOS**, returns the current `UIScreen.main.brightness` in [0.0, 1.0]. * * @returns Brightness value, or `-1` on Android when no override is set. */ export declare function getBrightness(): Promise; //# sourceMappingURL=index.d.ts.map