import * as React from "react"; import { Middleware } from "redux"; import { Dispatch } from "./registModel"; declare const ReduxProvider: React.FunctionComponent<{ middlewares: Middleware[]; children: React.ReactNode; }>; export default ReduxProvider; export declare function connect

(mapStateToProps?: (state: any, ownProps: P) => { [key: string]: any; }, mapDispatchToProps?: (dispatch: Dispatch, ownProps: P) => { [key: string]: any; }): >(Origin: T) => T;