import { Done } from '../../../../../Class/Functional/Done';
import { Fail } from '../../../../../Class/Functional/Fail';
import { Holder } from '../../../../../Class/Holder';
import { System } from '../../../../../system';
import { B } from '../../../../../types/interface/B';
import { CA } from '../../../../../types/interface/CA';
export interface I<T> {
    canvas: CA;
    quality: number;
    type: string;
    done: any;
}
export interface O<T> {
    blob: B;
    done: any;
}
export default class ToBlob<T> extends Holder<I<T>, O<T>> {
    constructor(system: System);
    f({ canvas, quality, type }: I<T>, done: Done<O<T>>, fail: Fail): Promise<void>;
    b(): void;
}
