import { ComponentType } from 'react'; import { ConnectedComponent } from 'react-redux'; import { UMLElementRepository } from '../../../services/uml-element/uml-element-repository'; import { UMLRelationshipRepository } from '../../../services/uml-relationship/uml-relationship-repository'; import { AsyncDispatch } from '../../../utils/actions/actions'; import { UMLElementComponentProps } from '../uml-element-component-props'; import { UMLElementType, UMLRelationshipType } from '../../..'; import { IUMLElement } from '../../../services/uml-element/uml-element'; type StateProps = { hovered: boolean; selected: boolean; connecting: boolean; reconnecting: boolean; element: IUMLElement; type: UMLElementType | UMLRelationshipType; scale: number; }; type DispatchProps = { start: AsyncDispatch; connect: AsyncDispatch; reconnect: AsyncDispatch; }; type Props = UMLElementComponentProps & StateProps & DispatchProps; export declare const connectable: (WrappedComponent: ComponentType) => ConnectedComponent, UMLElementComponentProps>; export {};