import { Done } from '../../../../../Class/Functional/Done';
import { Fail } from '../../../../../Class/Functional/Fail';
import { Holder } from '../../../../../Class/Holder';
import { System } from '../../../../../system';
import { Callback } from '../../../../../types/Callback';
import { CS } from '../../../../../types/interface/CS';
import { MS } from '../../../../../types/interface/MS';
import { Unlisten } from '../../../../../types/Unlisten';
export interface I {
    source: CS;
    opt: {
        frameRate: number;
    };
    stop: any;
}
export interface O {
    stream: MS;
}
export default class CaptureStream extends Holder<I, O> {
    __: string[];
    private _stream;
    constructor(system: System);
    f({ source, opt }: I, done: Done<O>, fail: Fail): Promise<void>;
    d(): void;
    mediaStream(callback: Callback<MediaStream>): Unlisten;
}
