astro-ghostcms/.pnpm-store/v3/files/4b/9b2faa4cf862192b1e9821629ea...

13 lines
594 B
Plaintext
Raw Normal View History

2024-02-14 14:10:47 +00:00
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>): AstroVNode;
export { AstroJSX, Fragment, createVNode as jsx, createVNode as jsxDEV, createVNode as jsxs };