import { GyroscopeStartParams } from '../sdk'; import { BotApiVersion, Merge, SchemaBase, SinceLatest, SinceUntil } from '../types'; import { onGyroscopeChanged, onGyroscopeFailed, onGyroscopeStarted, onGyroscopeStopped } from '../events'; type v60 = ReturnType; type v80 = ReturnType; type AllFeatures = v80; export type Schema = { '6.0': SchemaBase; '8.0': Merge; }; export type Gyroscope = SinceUntil | SinceLatest; declare function useGyroscope60(): { isStarted: Readonly>; x: Readonly>; y: Readonly>; z: Readonly>; }; declare function useGyroscope80(): { start: { (params: GyroscopeStartParams): Promise; (params: GyroscopeStartParams, callback?: ((success: boolean) => void) | undefined): void; }; stop: { (): Promise; (callback?: ((success: boolean) => void) | undefined): void; }; onStart: typeof onGyroscopeStarted; onStop: typeof onGyroscopeStopped; onChange: typeof onGyroscopeChanged; onFail: typeof onGyroscopeFailed; }; export declare function useGyroscope(baseVersion: Version): import('../types').VersionedReturnType; export {};