import { Component } from 'react'; import type { ReactElement, ReactNode } from 'react'; interface State { props?: Partial; error?: Error; } interface Props { children?: ReactNode; render?(element: ReactElement): ReactElement; } export declare class TestRenderer extends Component, State> { static getDerivedStateFromError(error: any): { error: any; }; state: State; setProps(props: Partial): void; getError(): Error | undefined; render(): ReactElement> | null; } export {}; //# sourceMappingURL=TestRenderer.d.ts.map