UNPKG

react-native-nitro-battery

Version:

High-performance battery monitoring for React Native built with Nitro Modules

12 lines 680 B
import type { NitroOrientation as NitroOrientationSpec } from './specs/nitro-orientation.nitro'; export declare const NitroOrientation: NitroOrientationSpec; export declare const lockToPortrait: () => void; export declare const lockToPortraitUpsideDown: () => void; export declare const lockToLandscape: () => void; export declare const lockToLandscapeLeft: () => void; export declare const lockToLandscapeRight: () => void; export declare const unlockAllOrientations: () => void; export declare const getOrientation: () => string; export declare const getDeviceOrientation: () => string; export declare const getAutoRotateState: () => boolean; //# sourceMappingURL=index.d.ts.map