///
interface CameraProps {
mode?: 'normal' | 'scanCode';
resolution?: 'low' | 'medium' | 'high';
'device-position'?: 'front' | 'back';
flash?: 'auto' | 'on' | 'off';
'frame-size'?: 'small' | 'medium' | 'large';
style?: Record;
bindstop?: () => void;
binderror?: (error: {
message: string;
}) => void;
bindinitdone?: (result: {
type: string;
data: string;
}) => void;
bindscancode?: (result: {
type: string;
data: string;
}) => void;
'parent-font-size'?: number;
'parent-width'?: number;
'parent-height'?: number;
'enable-var'?: boolean;
'external-var-context'?: any;
}
type HandlerRef = {
current: T | null;
};
declare const _camera: import("react").ForwardRefExoticComponent>>;
export default _camera;