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