/** * * @param tree */ export function createElement(tree: any): any; /** * Applies one vnode prop to an element: a `style` object is applied rule by * rule, a name the element owns as a DOM property is assigned (so event * handlers and non-string values keep their type), anything else becomes a * serialized attribute. Shared with the reconciler so a patched element gets * props by exactly the same rule as a freshly created one. * @param {Element} el the element to apply the prop to * @param {string} prop the prop name as written in the vnode * @param {any} value the prop value */ export function applyProp(el: Element, prop: string, value: any): void;