declare global { namespace JSX { interface IntrinsicElements { [key: string]: DashProps; } } } export type DashChild = (DashNode | (DashNode | Promise) | Promise); export interface DashProps { [key: string]: unknown; children?: DashChild[]; } export interface DashNode { type: string; props: DashProps; } export declare function createElement(tagNameOrFunction: string | ((props: DashProps) => DashNode | Promise), props: { [key: string]: unknown; } | null | undefined, ...children: DashChild[]): DashNode | Promise; export declare function createTextElement(text: string): DashNode; export declare function renderElementToString(element: DashNode): Promise; export declare function renderToString(root: DashNode | Promise): Promise; export declare function Fragment(props: DashProps): DashChild[] | undefined;