export declare let isHeadphoneMotionAvailable: boolean; export type MotionXYZ = { x: number; y: number; z: number; }; export interface HeadphoneMotionData { attitude: { roll: number; rollDeg: number; pitch: number; pitchDeg: number; yaw: number; yawDeg: number; }; rotationRate: MotionXYZ; userAcceleration: MotionXYZ; gravity: MotionXYZ; } export declare enum AuthorizationStatus { /** * The status has not yet been determined. */ notDetermined = 0, /** * Access is denied due to system-wide restrictions. */ restricted = 1, /** * Access was denied by the user. */ denied = 2, /** * Access was granted by the user. */ authorized = 3 } export declare function getAuthorizationStatus(): Promise; export declare function requestPermission(): Promise; export declare function startListenDeviceMotionUpdates(): Promise; export declare function startDeviceMotionUpdates(): Promise; export declare function stopDeviceMotionUpdates(): Promise; export declare function isDeviceMotionActive(): Promise; export declare function getLatestDeviceMotion(): Promise; export declare function onDeviceMotionUpdatesError(cb: (data: { text: string; }) => void): import("react-native").EmitterSubscription; export declare function onDeviceMotionUpdates(cb: (data: HeadphoneMotionData) => void): import("react-native").EmitterSubscription; export declare function onHeadphoneConnected(cb: () => void): import("react-native").EmitterSubscription; export declare function onHeadphoneDisconnected(cb: () => void): import("react-native").EmitterSubscription; //# sourceMappingURL=index.d.ts.map