export type MrbdOrientation = { heading: number | null; tilt: number | null; roll: number | null; absolute: boolean; }; export type MrbdMotion = { acceleration: DeviceMotionEventAcceleration | null; accelerationIncludingGravity: DeviceMotionEventAcceleration | null; rotationRate: DeviceMotionEventRotationRate | null; interval: number; gForce: number | null; }; export type MrbdSensorHandlers = { onOrientation?: (orientation: MrbdOrientation, event: DeviceOrientationEvent) => void; onMotion?: (motion: MrbdMotion, event: DeviceMotionEvent) => void; onError?: (error: MrbdSensorError) => void; }; export type MrbdSensorError = { error: "unavailable"; sensor: "orientation" | "motion" | "window"; } | { error: "permission-denied"; } | { error: "unknown"; message?: string; }; export type MrbdSensorSession = { ok: true; stop: () => void; } | { ok: false; error: MrbdSensorError; }; export declare function requestAndStartMrbdSensors(handlers: MrbdSensorHandlers): Promise; //# sourceMappingURL=sensors.d.ts.map