import { Fragment as ActFragment } from './hyperscript.js'; import { Child, Props, SVGProps } from './types.js'; export { ActFragment as Fragment }; export declare namespace JSX { type Element = globalThis.Element | DocumentFragment; interface IntrinsicElements { svg: SVGProps; path: SVGProps; circle: SVGProps; ellipse: SVGProps; line: SVGProps; polyline: SVGProps; polygon: SVGProps; rect: SVGProps; g: SVGProps; defs: SVGProps; use: SVGProps; symbol: SVGProps; tspan: SVGProps; text: SVGProps; clipPath: SVGProps; mask: SVGProps; pattern: SVGProps; linearGradient: SVGProps; radialGradient: SVGProps; stop: SVGProps; filter: SVGProps; marker: SVGProps; [tagName: string]: Props & { children?: Child | Child[]; }; } } type JSXProps = Props & { children?: Child | Child[]; }; /** * jsx() — called for elements with a single child (or no children). * The automatic transform passes children inside props. */ export declare function jsx(type: string | ((...args: unknown[]) => Element | DocumentFragment | void), props: JSXProps, _key?: string): Element | DocumentFragment; /** * jsxs() — called for elements with multiple children (array). * Identical implementation — children is already an array. */ export declare function jsxs(type: string | ((...args: unknown[]) => Element | DocumentFragment | void), props: JSXProps, _key?: string): Element | DocumentFragment; /** * jsxDEV() — called in development builds; same as jsx(). */ export declare function jsxDEV(type: string | ((...args: unknown[]) => Element | DocumentFragment | void), props: JSXProps, _key?: string): Element | DocumentFragment;