UNPKG

562 BTypeScriptView Raw
1import { OrientationInfo, OrientationLock, WebOrientationLock } from './ScreenOrientation.types';
2declare const _default: {
3 readonly name: string;
4 supportsOrientationLockAsync(orientationLock: OrientationLock): Promise<boolean>;
5 getPlatformOrientationLockAsync(): Promise<WebOrientationLock>;
6 getOrientationAsync(): Promise<OrientationInfo>;
7 lockAsync(orientationLock: OrientationLock): Promise<void>;
8 lockPlatformAsync(webOrientationLock: WebOrientationLock): Promise<void>;
9 unlockAsync(): Promise<void>;
10};
11export default _default;