import { ActionCreatorsMapObject, Dispatch, ActionCreator } from 'redux'; import { FixTypeLater } from '../types'; declare type AnyState = { [key: string]: any; }; declare type StateOrDispatch = S | Dispatch; declare type AnyProps = { [key: string]: any; }; export declare type MapToProps

= { (stateOrDispatch: StateOrDispatch, ownProps?: P): FixTypeLater; dependsOnOwnProps?: boolean; }; export declare function wrapMapToPropsConstant(getConstant: (dispatch: Dispatch) => { dispatch?: Dispatch; dependsOnOwnProps?: boolean; } | ActionCreatorsMapObject | ActionCreator): (dispatch: Dispatch) => { (): ActionCreatorsMapObject | ActionCreator | { dispatch?: Dispatch | undefined; dependsOnOwnProps?: boolean | undefined; }; dependsOnOwnProps: boolean; }; export declare function getDependsOnOwnProps(mapToProps: MapToProps): boolean; export declare function wrapMapToPropsFunc

(mapToProps: MapToProps, methodName: string): (dispatch: Dispatch, { displayName }: { displayName: string; }) => { (stateOrDispatch: StateOrDispatch, ownProps?: P | undefined): MapToProps; dependsOnOwnProps: boolean; mapToProps(stateOrDispatch: StateOrDispatch, ownProps?: P | undefined): MapToProps; }; export {};