import Plugin from './plugins/Plugin'; import React from 'react'; interface ReactImageEditorProps { width?: number; height?: number; style?: React.CSSProperties; plugins?: Plugin[]; toolbar?: { items: string[]; }; src: string; getStage?: (stage: any) => void; defaultPluginName?: string; crossOrigin?: string; } declare function ReactImageEditor(props: ReactImageEditorProps): React.JSX.Element; declare namespace ReactImageEditor { var defaultProps: Partial; } export default ReactImageEditor;