import { Camera, Constraints } from '../core/Camera'; import { Configuration } from '../core/Config'; import { GUI } from '../core/GUI'; import { Scanner } from '../core/Scanner'; /** * This class is used for the Barcode Capture from the WebCam * Main Parameter is the rootElement or the DOM element where the camera is to be rendered on the screen for capture * Additional optionals parameters are configuration and constraints data */ export declare class BarcodeCapture { static cameraObj: Camera; static gui: GUI; static loader_class: string; static scanner: Scanner; constraints: Constraints; configuration: Configuration; constructor(rootElement: HTMLElement, configuration?: Configuration, constraints?: Constraints); startBarcodeScanner: (rootElement: HTMLElement) => Promise; /** * @hidden * To setup the camera element and started streaming * @param rootElement - The HTML ELement to render camera view * @param stream - The stream object once the Camera is started up */ setUpCameraStream: (rootElement: HTMLElement, stream: any) => void; }