import { CUTBOXINFO, OPTION, POSITIONINFO } from '../types/index';
/**
 * @func 收集事件操作中像素信息
 * @desc
 * @param {}
 * @return {}
 */
declare class drawingMosaic {
    degreeOfBlur: number;
    cutBoxInfo: CUTBOXINFO;
    positionInfo: POSITIONINFO;
    baseImageCtx: CanvasRenderingContext2D | null;
    dpr: number;
    constructor();
    /**
     * @func 鼠标点击事件处理
     * @desc
     * @param {
     *   e 事件event
     *   cutBoxInfo 剪裁框信息
     *   ctx 需要添加马赛克的canvas上下文
     *   option 配置项
     *   image 操作底图
     * }
     * @return {}
     */
    mouseDownEvent(e: MouseEvent, cutBoxInfo: CUTBOXINFO, ctx: CanvasRenderingContext2D, option: OPTION, image: HTMLCanvasElement | HTMLImageElement): POSITIONINFO;
    /**
     * @func 鼠标移动事件处理
     * @desc
     * @param {
     *   e 事件event
     *   ctx 需要添加马赛克的canvas上下文
     *   option 配置项
     *   image 操作底图
     * }
     * @return {}
     */
    mouseMoveEvent(e: MouseEvent, ctx: CanvasRenderingContext2D, option: OPTION): POSITIONINFO;
    /**
     * @func 获取底图执行上下文,用于获取底图imageData
     * @desc
     * @param {}
     * @return {}
     */
    getImageCtx(image: HTMLCanvasElement | HTMLImageElement, width: number, height: number): CanvasRenderingContext2D;
    /**
     * @func 处理位置数据,使其数据位置处于剪裁框范围内
     * @desc
     * @param {}
     * @return {}
     */
    handleData(mouseX: number, mouseY: number, ctx: CanvasRenderingContext2D, option: OPTION): Array<number>;
}
declare const _default: drawingMosaic;
export default _default;
