import React from 'react'; import { StoreType } from '../model/store.js'; import { ShapeType } from '../model/shape-model.js'; type ShapeProps = { store: StoreType; element: ShapeType; onClick: Function; }; export declare function registerShapeComponent(type: string, component: React.ComponentType): void; declare const Element: ((props: ShapeProps) => React.JSX.Element | null) & React.NamedExoticComponent & { readonly type: (props: ShapeProps) => React.JSX.Element | null; }; export default Element;