import { EComponent, EPureComponent } from './type'; declare function create(name: 'PureComponent' | 'Component'): { new (props: {} | Readonly<{}>): { $isMounted: any; forceUpdateTimer: any; componentDidMount(): void; componentWillUnmount(): void; setState: (...args: any[]) => void; setDraftState: (fn: any, callback: any) => void; forceUpdate: () => void; }; new (props: {}, context: any): { $isMounted: any; forceUpdateTimer: any; componentDidMount(): void; componentWillUnmount(): void; setState: (...args: any[]) => void; setDraftState: (fn: any, callback: any) => void; forceUpdate: () => void; }; }; export declare const Component: typeof EComponent; export declare const PureComponent: typeof EPureComponent; export default create;