import { DeviceOrientationStartParams } from '../sdk'; import { BotApiVersion, Merge, SchemaBase, SinceLatest, SinceUntil } from '../types'; import { onDeviceOrientationChanged, onDeviceOrientationFailed, onDeviceOrientationStarted, onDeviceOrientationStopped } from '../events'; type v60 = ReturnType; type v80 = ReturnType; type AllFeatures = v80; export type Schema = { '6.0': SchemaBase; '8.0': Merge; }; export type DeviceOrientation = SinceUntil | SinceLatest; declare function useDeviceOrientation60(): { isStarted: Readonly>; absolute: Readonly>; alpha: Readonly>; beta: Readonly>; gamma: Readonly>; }; declare function useDeviceOrientation80(): { start: { (params: DeviceOrientationStartParams): Promise; (params: DeviceOrientationStartParams, callback?: ((success: boolean) => void) | undefined): void; }; stop: { (): Promise; (callback?: ((success: boolean) => void) | undefined): void; }; onStart: typeof onDeviceOrientationStarted; onStop: typeof onDeviceOrientationStopped; onChange: typeof onDeviceOrientationChanged; onFail: typeof onDeviceOrientationFailed; }; export declare function useDeviceOrientation(baseVersion: Version): import('../types').VersionedReturnType; export {};