import { ReactElement } from 'react'; import { LayoutAttrs } from '../Layout/LayoutEnums'; export interface RawNode { type: string; attrs: { [key: string]: any; } & Partial; children: RawNode[]; props: { [key: string]: any; }; } declare const getShapeFromReact: (REl: ReactElement) => RawNode; export default getShapeFromReact;