import React from 'react'; import './App.less'; declare class App extends React.Component { state: { redoButtonStatus: string; undoButtonStatus: string; currentOptionArr: any; optionArr: any; currentObjectType: string; importCodeJson: string; visible: boolean; visibleCode: boolean; visibleImportCode: boolean; }; currentOptionArr: any; views: any; canvas_sprite: any; height: number; width: number; activeObject: any; finallObj: any; miniCode: any; MarkdownCode: any; rects: any; texts: any; delayT: any; componentDidMount(): void; addEventListener: () => void; beginEdit(event: any): void; addShape(index: any, action: any): Promise; addTextObject(index: any, action: any): Promise; addRectObject(index: any, action: any): Promise; addImageObject(index: any, action: any): Promise; addQrcodeObject(index: any, action: any): Promise; loadImageUrl(imgUrl: any): any; updateObject: () => Promise; changeActiveObjectValue: (visible?: boolean) => void; onClose: () => void; generateCode: () => void; clearCanvas: () => void; copyCode: () => void; viewCode: () => void; exportCode: () => void; exportImg: () => void; importCode: () => void; confirmImportCode: () => void; updateCanvasState: () => void; handerUndo: () => void; handerRedo: () => void; render: () => JSX.Element; } export default App;