import { Component as PreactComponent, VNode as PreactVNode, FunctionComponent as PreactFunctionComponent } from '../../src/internal'; import { SuspenseProps } from './suspense'; export { ComponentChildren } from '../..'; export { PreactElement } from '../../src/internal'; export interface Component
extends PreactComponent
{
isReactComponent?: object;
isPureReactComponent?: true;
_patchedLifecycles?: true;
// Suspense internal properties
_childDidSuspend?(error: Promise extends PreactFunctionComponent {
shouldComponentUpdate?(nextProps: Readonly ): boolean;
_forwarded?: boolean;
_patchedLifecycles?: true;
}
export interface VNode