/** * Created by kisnows on 2017/2/17. */ import React from 'react'; declare const _default: (args: any) => (ComposedComponent: any) => { new (props: Readonly<{}>): { render(): JSX.Element; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callBack?: (() => void) | undefined): void; readonly props: Readonly<{ children?: React.ReactNode; }> & Readonly<{}>; state: Readonly<{}>; context: any; refs: { [key: string]: React.ReactInstance; }; }; new (props: {}, context?: any): { render(): JSX.Element; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callBack?: (() => void) | undefined): void; readonly props: Readonly<{ children?: React.ReactNode; }> & Readonly<{}>; state: Readonly<{}>; context: any; refs: { [key: string]: React.ReactInstance; }; }; }; export default _default;