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 (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 {};