import type { ReactNode } from '../core'; type SetStateCallback = Partial | ((prev: S, props: P) => Partial | null) | null; export declare class Component

{ static contextType?: any; static getDerivedStateFromProps?(props: any, state: any): any; static getDerivedStateFromError?(error: any): any; static defaultProps?: any; static displayName?: string; props: P; state: S; context: any; refs: Record; _fiber: any; _enqueueUpdate: ((updater: SetStateCallback, cb?: () => void) => void) | null; _forceUpdate: ((cb?: () => void) => void) | null; constructor(props: P, context?: any); setState(updater: SetStateCallback, callback?: () => void): void; forceUpdate(callback?: () => void): void; render(): ReactNode; componentDidMount?(): void; componentDidUpdate?(prevProps: P, prevState: S, snapshot?: any): void; componentWillUnmount?(): void; shouldComponentUpdate?(nextProps: P, nextState: S, nextCtx: any): boolean; getSnapshotBeforeUpdate?(prevProps: P, prevState: S): any; componentDidCatch?(error: any, info: { componentStack: string; }): void; } export declare class PureComponent

extends Component { } export {};