import { FocusGesture } from '../camera/FocusGesture'; import { FocusGestureStrategy } from '../camera/FocusGestureStrategy'; import { FocusRange } from '../camera/FocusRange'; import { LogoStyle } from '../camera/LogoStyle'; import { MacroMode } from '../camera/MacroMode'; import { VideoResolution } from '../camera/VideoResolution'; import { ZoomGesture } from '../camera/ZoomGesture'; import { ZoomSwitchOrientation } from '../camera/ZoomSwitchOrientation'; import { CameraPosition } from '../camerahelpers/CameraPosition'; import { Anchor, Brush, Color, MarginsWithUnit, NumberWithUnit, PointWithUnit, SizeWithUnitAndAspect } from '../common'; import { RectangularViewfinderAnimation } from '../viewfinder/RectangularViewfinderAnimation'; import { RectangularViewfinderLineStyle } from '../viewfinder/RectangularViewfinderLineStyle'; import { RectangularViewfinderStyle } from '../viewfinder/RectangularViewfinderStyle'; export interface CameraSettingsDefaults { preferredResolution: VideoResolution; zoomFactor: number; focusRange: FocusRange; zoomGestureZoomFactor: number; focusGestureStrategy: FocusGestureStrategy; shouldPreferSmoothAutoFocus: boolean; manualLensPosition: number; focusStrategy: string; zoomLevels: number[]; torchLevel: number; macroMode: MacroMode; adaptiveExposure: boolean; properties: { [key: string]: unknown; }; } export interface ZoomSwitchControlDefaults { orientation: ZoomSwitchOrientation; isAlwaysExpanded: boolean; isExpanded: boolean; accessibilityLabel: string; accessibilityHint: string; } export interface CoreDefaults { Camera: { Settings: CameraSettingsDefaults; defaultPosition: CameraPosition | null; availablePositions: CameraPosition[]; }; ZoomSwitchControl: ZoomSwitchControlDefaults; DataCaptureView: { scanAreaMargins: MarginsWithUnit; pointOfInterest: PointWithUnit; logoAnchor: Anchor; logoOffset: PointWithUnit; focusGesture: FocusGesture | null; zoomGesture: ZoomGesture | null; zoomGestures: ZoomGesture[]; logoStyle: LogoStyle; shouldShowZoomNotification?: boolean; }; RectangularViewfinder: { defaultStyle: string; styles: { [key: string]: { size: SizeWithUnitAndAspect; color: Color; style: RectangularViewfinderStyle; lineStyle: RectangularViewfinderLineStyle; dimming: string; disabledDimming: string; animation: RectangularViewfinderAnimation | null; disabledColor: Color; }; }; }; AimerViewfinder: { frameColor: Color; dotColor: Color; }; LaserlineViewfinder: { width: NumberWithUnit; enabledColor: Color; disabledColor: Color; }; Brush: Brush; deviceID: string | null; } export declare function parseDefaults(jsonDefaults: any): CoreDefaults;