import { Fragment } from "./ir.js"; import type { ChannelNode } from "./ir.js"; export { Fragment }; export declare function jsx(type: string | ((props: never) => unknown) | symbol, props: Record | null, key?: string | number): ChannelNode; export declare const jsxs: typeof jsx; /** * The JSX type contract for this runtime. Declaring it here (rather than * relying on a global `JSX` namespace) is what makes the compiler actually * check element props: unknown attributes and bad children are errors, and * every element returns an {@link ChannelNode}. * * Resolved by TypeScript because `jsxImportSource` points at this package, so * `
` is checked against `SectionProps` with excess-property * checking — there are no lowercase intrinsic tags. */ export declare namespace JSX { /** The result of evaluating a JSX expression. */ type Element = ChannelNode; /** Tells TypeScript which prop receives nested children. */ interface ElementChildrenAttribute { children: {}; } /** Props implicitly accepted by every element. */ interface IntrinsicAttributes { key?: string | number; } /** No lowercase intrinsic tags — the vocabulary is the capitalized components. */ interface IntrinsicElements { } } //# sourceMappingURL=jsx-runtime.d.ts.map