interface ComponentClassimport { type ComponentClass } from "https://deno.land/x/netzo@0.3.66/deps/preact.ts"; Type ParametersoptionalP = { }optionalS = { }PropertiesoptionaldisplayName: stringoptionaldefaultProps: Partial<P>optionalcontextType: Context<any>Methodsnew(props: P, context?: any): Component<P, S>optionalgetDerivedStateFromProps(props: Readonly<P>, state: Readonly<S>): Partial<S> | nulloptionalgetDerivedStateFromError(error: any): Partial<S> | null