import { PhotoCaptureAppConfig, PixelDimensions, VehiclePart, VehicleType } from '@monkvision/types'; import { CaptureMode } from '../../../types'; /** * Props of the DamageDisclosureHUDElements component. */ export interface DamageDisclosureHUDElementsProps extends Pick { /** * The current mode of the component. */ mode: CaptureMode; /** * Current vehicle parts selected to take a picture of. */ vehicleParts: VehiclePart[]; /** * Callback called when the user presses the Add Damage button. */ onAddDamage: () => void; /** * Callback called when the user selects the parts to take a picture of. */ onAddDamagePartsSelected?: (parts: VehiclePart[]) => void; /** * Callback called when the user cancels the Add Damage mode. */ onCancelAddDamage: () => void; /** * Callback called when the user clicks on the "Validate" button of the Add Damage mode. */ onValidateVehicleParts: () => void; /** * The effective pixel dimensions of the Camera video stream on the screen. */ previewDimensions: PixelDimensions | null; /** * Boolean indicating if the global loading state of the DamageDisclosure component is loading or not. */ isLoading?: boolean; /** * The error that occurred in the DamageDisclosure component. Set this value to `null` if there is no error. */ error?: unknown | null; /** * The vehicle type of the inspection. */ vehicleType: VehicleType; } /** * Component implementing an HUD displayed on top of the Camera preview during the DamageDisclosure process. */ export declare function DamageDisclosureHUDElements(params: DamageDisclosureHUDElementsProps): import("react").JSX.Element | null;