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