/// import { Element } from '../types'; export default function createElement(type: Element['type'], props: Element['props'], ...children: Element[]): { type: string | ((props?: unknown) => JSX.Element); props: { [key: string]: unknown; children?: JSX.Element[]; }; children: Element[]; };