import Tool, { Position } from './enums/Tool'; export declare type Image = { imageData: string; imgType: "normal" | "background"; }; export declare const drawImage: (item: Image, context: CanvasRenderingContext2D, pos: Position, id: string, rerender: () => void) => void; export declare const drawBackgroundImage: () => (item: Image, context: CanvasRenderingContext2D, pos: Position, id: string, rerender: () => void) => void; export declare const onImageComplete: (data: string, canvas: HTMLCanvasElement, viewMatrix: number[], handleCompleteOperation: (tool?: Tool, data?: Image, pos?: Position) => void) => void;