import type { IDetectedBarcode } from "@yudiel/react-qr-scanner"; import React from "react"; export type QrScannerSurfaceVariant = "dialog" | "page"; export type QrScannerSurfaceProps = { handleScan: (detectedCodes: IDetectedBarcode[]) => void; handleError: (error: unknown) => void; isPaused: boolean; restartKey: number; status: string; isScanning: boolean; isSubmitting: boolean; errorMessage?: string | null; feedbackMessage?: string | null; feedbackSeverity?: "success" | "info" | "warning" | "error"; showRetry?: boolean; retryLabel?: string; onRetry?: () => void; requestingPermissionLabel?: string; previewInstructionLabel?: string; submittingLabel?: string; manualSectionTitle: string; manualValue: string; manualLabel: string; manualPlaceholder: string; manualSubmitLabel: string; manualDisabled?: boolean; manualInputDisabled?: boolean; manualSubmitDisabled?: boolean; onManualValueChange: (value: string) => void; onManualSubmit: () => void; manualInputAdornment?: React.ReactNode; rootTestId?: string; errorTestId?: string; manualInputTestId?: string; manualSubmitTestId?: string; variant?: QrScannerSurfaceVariant; }; declare const _default: React.NamedExoticComponent; export default _default;