import { DomElement, PrefixedElementTag, Prettify } from "../types.js"; import { Children, ElementAttributesTagNameMap } from "./types.js"; import { ReadonlySignal } from "@preact/signals-core"; //#region src/preact-signals/jsx-runtime.d.ts /** * Symbol used to group children without introducing an extra DOM node when using JSX. */ declare const Fragment: unique symbol; /** * JSX factory compatible with [@preact/signals-core](https://github.com/preactjs/signals). */ declare function jsx(type: T, props: JSX.IntrinsicAttributes, __key: unknown, __isStaticChildren: unknown, __source: unknown, __self: unknown): JSX.Element; /** * Alias of {@link jsx} used when JSX compilers emit batched static children helpers. */ declare const jsxs: typeof jsx; /** * Development-time alias of {@link jsx} used by tooling that differentiates prod/dev JSX runtimes. */ declare const jsxDEV: typeof jsx; declare namespace JSX { type Fragment = ReadonlySignal; type Element = DomElement | Fragment; type ElementClass = (props: IntrinsicAttributes) => Element; interface IntrinsicAttributes { children?: Children | Children[]; [key: string | symbol]: unknown; } type IntrinsicElements = { [T in PrefixedElementTag]: Prettify }; } //#endregion export { Fragment, JSX, jsx, jsxDEV, jsxs }; //# sourceMappingURL=jsx-runtime.d.ts.map