import { AfterViewInit, EventEmitter } from '@angular/core';
import { BehaviorSubject } from 'rxjs';
import * as i0 from "@angular/core";
export declare class WebcamComponent implements AfterViewInit {
    imageSaved: EventEmitter<File>;
    readonly showing$: BehaviorSubject<boolean>;
    readonly stream$: BehaviorSubject<MediaStream>;
    readonly picture$: BehaviorSubject<{
        file: File;
        uri: string;
    }>;
    ngAfterViewInit(): void;
    captureImage(): boolean;
    clearImage(): boolean;
    close(emitImage?: boolean): boolean;
    private stopStream;
    private getVideoElement;
    private emitOnTimeOut;
    private toggleFade;
    private dataURItoFile;
    static ɵfac: i0.ɵɵFactoryDeclaration<WebcamComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<WebcamComponent, "valtimo-webcam", never, {}, { "imageSaved": "imageSaved"; }, never, never, false, never>;
}
//# sourceMappingURL=webcam.component.d.ts.map