import { MonkApiConfig } from '@monkvision/network'; import { CameraConfig, ComplianceOptions, MonkPicture, PhotoCaptureAppConfig, Sight, VehicleType } from '@monkvision/types'; /** * Props of the PhotoCapture component. */ export interface PhotoCaptureProps extends Pick, Partial { /** * The list of sights to take pictures of. The values in this array should be retreived from the `@monkvision/sights` * package. */ sights: Sight[]; /** * The ID of the inspection to add images to. Make sure that the user that created the inspection if the same one as * the one described in the auth token in the `apiConfig` prop. */ 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 vehicle type of the inspection. */ vehicleType?: VehicleType; /** * Callback called when the user clicks on the Close button. If this callback is not provided, the button will not be * displayed on the screen. */ onClose?: () => void; /** * Callback called when inspection capture is complete. */ onComplete?: () => void; /** * Callback called when a picture has been taken by the user. */ onPictureTaken?: (picture: MonkPicture) => void; /** * Callback called when the user clicks on the gallery button. * When this callback is provided, the gallery screen will be handled externally. */ onGalleryPress?: () => void; /** * Boolean indicating if beauty shot extraction should be enabled or not. It should only be enabled if PhotoCapture is * used combined with VideoCatpure, and if the user wants to extract beauty shots from the videos taken with * VideoCapture. * * @default false */ enableBeautyShotExtraction?: boolean; /** * The language to be used by this component. * * @default en */ lang?: string; /** * Custom label for validate button in gallery view. */ validateButtonLabel?: string; } export declare function PhotoCapture({ sights, inspectionId, apiConfig, additionalTasks, tasksBySight, startTasksOnComplete, onClose, onComplete, onPictureTaken, maxUploadDurationWarning, showCloseButton, enableCompliance, enableCompliancePerSight, complianceIssues, complianceIssuesPerSight, customComplianceThresholds, customComplianceThresholdsPerSight, useLiveCompliance, allowSkipRetake, addDamage, sightGuidelines, enableTutorial, allowSkipTutorial, enableSightTutorial, sightTutorial, enableSightGuidelines, useAdaptiveImageQuality, lang, enforceOrientation, validateButtonLabel, vehicleType, autoDeletePreviousSightImages, onGalleryPress, enableBeautyShotExtraction, ...initialCameraConfig }: PhotoCaptureProps): import("react").JSX.Element;