/** * @typedef {import('./core.js').Element} Element * @typedef {import('./core.js').Root} Root * @typedef {import('./core.js').HResult} HResult * @typedef {import('./core.js').HChild} HChild * @typedef {import('./core.js').HProperties} HProperties * @typedef {import('./core.js').HPropertyValue} HPropertyValue * @typedef {import('./core.js').HStyle} HStyle * @typedef {import('./core.js').core} Core * * @typedef {Record} JSXProps */ /** * Create an automatic runtime. * * @param {ReturnType} f */ export function runtime(f: ReturnType): { Fragment: null jsx: { ( type: null | undefined, props: { children?: HChild }, key?: string ): Root (type: string, props: JSXProps, key?: string): Element } jsxs: { ( type: null | undefined, props: { children?: HChild }, key?: string ): Root (type: string, props: JSXProps, key?: string): Element } jsxDEV: { ( type: null | undefined, props: { children?: HChild }, key?: string ): Root (type: string, props: JSXProps, key?: string): Element } } export type Element = import('./core.js').Element export type Root = import('./core.js').Root export type HResult = import('./core.js').HResult export type HChild = import('./core.js').HChild export type HProperties = import('./core.js').HProperties export type HPropertyValue = import('./core.js').HPropertyValue export type HStyle = import('./core.js').HStyle export type Core = typeof import('./core.js').core export type JSXProps = Record