export type CameraPermissionModalConfig = { enabled?: boolean; title?: string; text?: string; retryButtonText?: string; webToMobileButtonText?: string; helpButtonText?: string; }; export type CameraPermissionState = "idle" | "requesting" | "granted" | "denied" | "notFoundDevice" | "hardblock" | "retry"; export type ErrorModalName = "none" | "cameraPermission" | "webToMobile" | "help"; export type ErrorModalT = { show: boolean; modal: ErrorModalName; };