export interface Props { [key: string]: any; children?: JSX.Element[]; } export interface Context { } export declare abstract class Component

{ protected props?: P | Props; protected context?: C; protected viewStore?: VS; constructor(props?: P | Props, context?: C, viewStore?: VS); onInit?(): Promise | void; onPreRender?(): Promise | void; onRender?(html: string): Promise | string; abstract render(): JSX.Element; } declare const View: { (nodeConstructor: NodeConstructor, props: Props, ...children: any[]): any; Component: typeof Component; Fragment(props?: Props): any[]; Placeholder(props: {}): string; }; export declare type ClassComponent

= new () => Component; export declare type FunctionComponent = (props?: Props, context?: Context) => JSX.Element; export declare type NodeConstructor = string | FunctionComponent | ClassComponent; export default View; //# sourceMappingURL=View.d.ts.map