import { CameraHandle } from '@monkvision/camera-web'; /** * Props of the HUDOverlay component. */ export interface HUDOverlayProps { /** * Boolean indicating if the global loading state of the PhotoCapture component is loading or not. */ isCaptureLoading: boolean; /** * The error that occurred in the PhotoCapture component. Set this value to `null` if there is no error. */ captureError: unknown | null; /** * The Camera handle. */ handle: CameraHandle; /** * Callback called when the user wants to retry fetching inspection data. */ onRetry: () => void; /** * The inspection ID. */ inspectionId: string; } export declare function useErrorLabel(captureError: unknown | null, handle: CameraHandle, inspectionId: string): string | null; export declare function useRetry({ captureError, handle, onRetry, }: Pick): (() => void) | null;