import * as React from 'react'; import { DefaultRootState, StoreProp, GetProps, Matching, ConnectedComponent } from './types'; export interface ConnectOptions { /** * If true, use React's forwardRef to expose a ref of the wrapped component * * @default false */ forwardRef?: boolean; } /** * Infers the type of props that a connector will inject into a component. */ export interface ConnectProps { miniStoreForwardedRef: React.Ref; } export interface ConnectedState { subscribed: TStateProps; store: Store; props: TOwnProps; } export declare function connect(mapStateToProps?: (state: State, ownProps: TOwnProps) => TStateProps, options?: ConnectOptions): , GetProps>>>(WrappedComponent: C) => ConnectedComponent, TOwnProps>;