import { CoveredSegment } from '@monkvision/common'; /** * Params passed to the useVehicleWalkaround hook. */ export interface UseVehicleWalkaroundParams { /** * The alpha value of the device orientation. */ alpha: number; /** * Whether video recording is currently active (not paused). */ isRecording: boolean; } /** * Handle returned by the useVehicleWalkaround hook to manage the VehicleWalkaround feature. */ export interface VehicleWalkaroundHandle { /** * Callback called at the start of the recording, to set the initial alpha position of the user. */ startWalkaround: () => void; /** * The current angular position of the user relative to start (between 0 and 360). */ walkaroundPosition: number; /** * Percentage of the walkaround completed. */ coveragePercentage: number; /** * Covered segments as angle ranges. */ coveredSegments: CoveredSegment[]; } /** * Custom hook used to manage the vehicle walkaround tracking. */ export declare function useVehicleWalkaround({ alpha, isRecording, }: UseVehicleWalkaroundParams): VehicleWalkaroundHandle;