import { Dispatch, SetStateAction } from 'react'; import { CameraHUDProps } from '@monkvision/camera-web'; import { MonkApiConfig } from '@monkvision/network'; import { LoadingState } from '@monkvision/common'; import { DeviceRotation, VideoCaptureAppConfig } from '@monkvision/types'; import { FastMovementsDetectionHandle, UseVideoRecordingParams } from '../hooks'; /** * Props accepted by the VideoCaptureHUD component. */ export interface VideoCaptureHUDProps extends CameraHUDProps, Pick, Pick, Pick, Pick { /** * The ID of the inspection to add the video frames to. */ inspectionId: string; /** * The api config used to communicate with the API. Make sure that the user described in the auth token is the same * one as the one that created the inspection provided in the `inspectionId` prop. */ apiConfig: MonkApiConfig; /** * The maximum number of retries for failed image uploads. */ maxRetryCount: number; /** * Boolean indicating if the video is currently recording or not. */ isRecording: boolean; /** * Callback called when setting the `isRecording` state. */ setIsRecording: Dispatch>; /** * The loading state for the start task feature. */ startTasksLoading: LoadingState; /** * The loading state for the inspection fetch. */ inspectionLoading: LoadingState; /** * Callback called when the inspection capture is complete. */ onComplete?: () => void; /** * Callback called when the user clicks on the close video button. */ onCloseVideo?: () => void; /** * Boolean indicating if the close video button should be displayed in the HUD during the video recording. * * @default false */ showCloseVideoButton?: boolean; } /** * HUD component displayed on top of the camera preview for the VideoCapture process. */ export declare function VideoCaptureHUD({ handle, cameraPreview, inspectionId, apiConfig, isRecording, setIsRecording, enforceOrientation, alpha, fastMovementsWarning, onWarningDismiss, resetDetection, maxRetryCount, minRecordingDuration, startTasksLoading, inspectionLoading, enableHybridVideo, onComplete, onCloseVideo, showCloseVideoButton, }: VideoCaptureHUDProps): import("react").JSX.Element;