import { VNode, VNodeData } from './vnode'; import { ArrayOrElement } from './h'; export declare type JsxVNodeChild = VNode | string | number | boolean | undefined | null; export declare type JsxVNodeChildren = ArrayOrElement; export declare type FunctionComponent = (props: { [prop: string]: any; } | null, children?: VNode[]) => VNode; /** * jsx/tsx compatible factory function * see: https://www.typescriptlang.org/docs/handbook/jsx.html#factory-functions */ export declare function jsx(tag: string | FunctionComponent, data: VNodeData | null, ...children: JsxVNodeChildren[]): VNode;