/// import { IStore } from 'opstore'; import * as PropTypes from 'prop-types'; import { Component, ComponentClass } from 'react'; export interface IProviderProps { store: IStore; } export declare class Provider extends Component { static childContextTypes: { store: PropTypes.Validator; storeSubscription: PropTypes.Requireable; }; store: IStore; constructor(props: IProviderProps, context: any); getChildContext(): any; render(): any; } export declare const connect: (mapStoreToProps?: (...args: any[]) => void) => (WrappedComponent: ComponentClass<{}>) => any; declare const _default: { connect: (mapStoreToProps?: (...args: any[]) => void) => (WrappedComponent: ComponentClass<{}>) => any; Provider: typeof Provider; }; export default _default;