Files
2025-07-24 18:46:24 +02:00

13 lines
618 B
TypeScript

import { Fragment, Renderer } from '../runtime/server/index.js';
declare const AstroJSX = "astro:jsx";
export interface AstroVNode {
[Renderer]: string;
[AstroJSX]: boolean;
type: string | ((...args: any) => any);
props: Record<string | symbol, any>;
}
export declare function isVNode(vnode: any): vnode is AstroVNode;
export declare function transformSlots(vnode: AstroVNode): AstroVNode | undefined;
declare function createVNode(type: any, props?: Record<string, any>, key?: string | number): AstroVNode;
export { AstroJSX, Fragment, createVNode as jsx, createVNode as jsxDEV, createVNode as jsxs };