export {}; export declare type RHastChild = RHastElement | RHastText | string | number | RHastCode; export interface RHastCode { type: 'code'; value: string; } export interface RHastElement { type: 'element'; tagName: string; properties: { [key: string]: string | number | RHastCode; }; children: RHastChild[]; } export interface RHastText { type: 'text'; value: string | number | boolean; } export declare type RHastNode = RHastElement | RHastText | RHastChild; export declare type RCastCode = string; export declare type RCastChild = RCastElement | string | number | RCastCode; export interface RCastProps { children: RCastChild[]; [key: string]: string | number | RCastCode | RCastChild[]; } export interface RCastElement { type: string | Function; props: RCastProps; } export declare type RCastNode = RCastElement | RCastChild;