import * as React from 'react'; interface PropsI { [key: string]: any; } interface StateNamesMethodI { (props: ComponentPropsI): string[]; } interface StateI { [key: string]: any; } interface MapStateToPropsI { (state: StateI, props?: ComponentPropsI): StatePropsI; } declare function withEventrixState(BaseComponent: React.ComponentType, stateNames: StateNamesMethodI | string[] | string, mapStateToProps?: MapStateToPropsI, Context?: React.Context<{ eventrix: import("../../interfaces").EventrixI; }>): React.ComponentType; export default withEventrixState;