type OrientationType = 'portrait-primary' | 'portrait-secondary' | 'landscape-primary' | 'landscape-secondary';
interface OrientationState {
    type: OrientationType;
    angle: number;
}
/**
 * A React hook that tracks screen.orientation.
 * @returns
 *  - orientation: { type, angle }
 *  - lock(lockType?): Promise<void>
 *  - unlock(): Promise<void>
 */
export declare function useScreenOrientation(): {
    orientation: OrientationState;
    lock: (lockType?: OrientationType | "portrait" | "landscape") => any;
    unlock: () => void | Promise<never>;
};
export {};
