import { FlashMode } from '../../definitions'; import './imagecapture'; export declare class CameraPWA { el: any; facingMode: string; handlePhoto: (photo: Blob) => void; hidePicker: boolean; handleNoDeviceError: (e?: any) => void; noDevicesText: string; noDevicesButtonText: string; photo: any; photoSrc: any; showShutterOverlay: boolean; flashIndex: number; hasCamera: boolean | null; rotation: number; deviceError: any | null; photoOrientation: number; exifData: any; offscreenCanvas: HTMLCanvasElement; defaultConstraints: any; stream: MediaStream; imageCapture: any; videoElement: HTMLVideoElement; canvasElement: HTMLCanvasElement; hasMultipleCameras: boolean; hasFlash: boolean; flashModes: FlashMode[]; flashMode: FlashMode; componentDidLoad(): Promise; disconnectedCallback(): void; hasImageCapture(): boolean; /** * Query the list of connected devices and figure out how many video inputs we have. */ queryDevices(): Promise; initCamera(constraints?: MediaStreamConstraints): Promise; initStream(stream: MediaStream): Promise; initPhotoCapabilities(imageCapture: any): Promise; stopStream(): void; capture(): Promise; promptAccept(photo: any): Promise; private getOrientation; rotate(): void; setFlashMode(mode: FlashMode): void; cycleFlash(): void; flashScreen(): Promise; handlePickFile: (_e: Event) => void; handleShutterClick: (_e: Event) => void; handleRotateClick: (_e: Event) => void; handleClose: (_e: Event) => void; handleFlashClick: (_e: Event) => void; handleCancelPhoto: (_e: Event) => void; handleAcceptPhoto: (_e: Event) => void; handleFileInputChange: (e: InputEvent) => Promise; handleVideoMetadata: (e: Event) => void; iconExit(): string; iconPhotos(): any; iconConfirm(): string; iconReverseCamera(): string; iconRetake(): string; iconFlashOff(): string; iconFlashOn(): string; iconFlashAuto(): string; render(): any; }