import { Functional } from '../../../../../../Class/Functional';
import { Done } from '../../../../../../Class/Functional/Done';
import { Fail } from '../../../../../../Class/Functional/Fail';
import { Rect } from '../../../../../../client/util/geometry/types';
import { System } from '../../../../../../system';
import { IB } from '../../../../../../types/interface/IB';
import { IM } from '../../../../../../types/interface/IM';
export type I = {
    image: IM;
    opt: {};
    rect: Rect | Omit<Rect, 'x' | 'y'> | Omit<Rect, 'x' | 'y' | 'width' | 'height'>;
};
export type O = {
    bitmap: IB;
};
export default class ImageToBitmap extends Functional<I, O> {
    constructor(system: System);
    f({ opt, rect, image }: I, done: Done<O>, fail: Fail): Promise<void>;
}
