import { ElementAttributesTagNameMap, PrefixedElementTag, Prettify } from "../types.js"; //#region src/virtual/types.d.ts type FunctionComponent = (props: Props) => VNodeChildren; type VNodeType = PrefixedElementTag | ((props: never) => unknown); interface VNode { readonly type: Type; readonly props: Props; readonly key: string | number | null; readonly constructor: undefined; } type VNodeChild = VNode | string | number | boolean | null | undefined; type VNodeChildren = VNodeChild | VNodeChildren[]; type VNodePropsTagNameMap = ElementAttributesTagNameMap; type ElementVNode = { [T in PrefixedElementTag]: VNode>; }[PrefixedElementTag]; //#endregion export { ElementVNode, FunctionComponent, VNode, VNodeChild, VNodeChildren, VNodePropsTagNameMap, VNodeType }; //# sourceMappingURL=types.d.ts.map