export type CropImageOptions = {
    imageSource: string | HTMLCanvasElement;
    cropX: number;
    cropY: number;
    cropWidth: number;
    cropHeight: number;
    type: 'image/png' | 'image/jpeg' | 'image/webp';
    quality?: number;
};
export declare function cropImage(options: CropImageOptions, resultType: 'blob'): Promise<Blob>;
export declare function cropImage(options: CropImageOptions, resultType: 'arrayBuffer'): Promise<ArrayBuffer>;
export declare function cropImage(options: CropImageOptions, resultType: 'dataUrl'): Promise<string>;
export declare function cropImage(options: CropImageOptions, resultType: 'canvas'): Promise<HTMLCanvasElement>;
//# sourceMappingURL=cropImage.d.ts.map