import * as React from 'react';
import { UpDrawingProps, UpDrawingState } from './types';
import CanvasState from './CanvasState';
export default class UpDrawing extends React.Component<UpDrawingProps, UpDrawingState> {
    canvas: any;
    canvasState: CanvasState;
    contextKey: string;
    static defaultProps: UpDrawingProps;
    constructor(p: any, c: any);
    setCanvas: (canvas: any) => void;
    componentWillReceiveProps(nextProps: UpDrawingProps): void;
    zoomIn: (event: any) => void;
    zoomOut: (event: any) => void;
    zoomNormal: (event: any) => void;
    rotate: (event: any) => void;
    open: () => void;
    crop: (event: any) => void;
    cropAll: (event: any) => void;
    del: (event: any) => void;
    delAll: () => void;
    toggleActivationShape: (value: any) => void;
    render(): JSX.Element;
}
