import type { FacingMode, CameraCore } from "../../types/camera";
export declare class MediaStreamManager implements CameraCore {
    video: HTMLVideoElement;
    private stream;
    private facingMode;
    constructor(video: HTMLVideoElement, facingMode?: FacingMode);
    open(): Promise<boolean>;
    close(): void;
    switch(facingMode: FacingMode): Promise<boolean>;
    getVideoEl(): HTMLVideoElement;
    getStream(): MediaStream | null;
    isOpen(): boolean;
}
//# sourceMappingURL=mediaStream.d.ts.map