import React from "react"; import { InvokerContextState } from "../../types"; interface MapStateToProps { (state: InvokerContextState): any; } declare function Connect(mapStateToProps: MapStateToProps): (WrappedComponent: React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>) => { new (props: Readonly<{}>): { render(): JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callBack?: (() => void) | undefined): void; readonly props: Readonly<{}> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; }; new (props: {}, context?: any): { render(): JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callBack?: (() => void) | undefined): void; readonly props: Readonly<{}> & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; }; contextType?: React.Context | undefined; }; export default Connect; //# sourceMappingURL=index.d.ts.map