/** * Create an virtual node (used for JSX) * @param {import('./internal').VNode["type"]} type The node name or Component * constructor for this virtual node * @param {object | null | undefined} [props] The properties of the virtual node * @param {Array} [children] The children of the virtual node * @returns {import('./internal').VNode} */ export function createElement(type: import('./internal').VNode["type"], props?: object | null | undefined, children?: import(".").ComponentChildren[] | undefined, ...args: any[]): import('./internal').VNode; /** * Create a VNode (used internally by Preact) * @param {import('./internal').VNode["type"]} type The node name or Component * Constructor for this virtual node * @param {object | string | number | null} props The properties of this virtual node. * If this virtual node represents a text node, this is the text of the node (string or number). * @param {string | number | null} key The key for this virtual node, used when * diffing it against its children * @param {import('./internal').VNode["ref"]} ref The ref property that will * receive a reference to its created child * @returns {import('./internal').VNode} */ export function createVNode(type: import('./internal').VNode["type"], props: object | string | number | null, key: string | number | null, ref: import('./internal').VNode["ref"], original: any): import('./internal').VNode; export function createRef(): {}; export function Fragment(props: any): any; export function isValidElement(vnode: any): vnode is import("./internal").VNode;