react-native-cn-richtext-editor
Version:
RichText Editor for React-Native
17 lines (16 loc) • 1.51 kB
TypeScript
import { Subscription } from '@unimodules/core';
import { Orientation, OrientationChangeEvent, OrientationChangeListener, OrientationInfo, OrientationLock, PlatformOrientationInfo, SizeClassIOS, WebOrientationLock } from './ScreenOrientation.types';
export { Orientation, OrientationLock, SizeClassIOS, OrientationInfo, PlatformOrientationInfo, OrientationChangeListener, OrientationChangeEvent, WebOrientationLock, };
export declare function allow(orientationLock: OrientationLock): void;
export declare function allowAsync(orientationLock: OrientationLock): Promise<void>;
export declare function lockAsync(orientationLock: OrientationLock): Promise<void>;
export declare function lockPlatformAsync(options: PlatformOrientationInfo): Promise<void>;
export declare function unlockAsync(): Promise<void>;
export declare function getOrientationAsync(): Promise<OrientationInfo>;
export declare function getOrientationLockAsync(): Promise<OrientationLock>;
export declare function getPlatformOrientationLockAsync(): Promise<PlatformOrientationInfo>;
export declare function supportsOrientationLockAsync(orientationLock: OrientationLock): Promise<boolean>;
export declare function doesSupportAsync(orientationLock: OrientationLock): Promise<boolean>;
export declare function addOrientationChangeListener(listener: OrientationChangeListener): Subscription;
export declare function removeOrientationChangeListeners(): void;
export declare function removeOrientationChangeListener(subscription: Subscription): void;