import type { Content } from '@xh/hoist/core'; import { ReactElement } from 'react'; /** * Return the display name for either a class-based or functional Component. */ export declare function getReactElementName(obj: any): string; /** * Create a React element from either a HoistComponent or a function returning an element. * * Used by the TabContainer, DashContainer, DockView, and Navigator APIs to process the 'content' * configs provided to them for their tabs and views. * * @param content - ReactElement, HoistComponent or function returning a ReactElement. * If a function, it may be an ElemFactory or any function that returns a ReactElement. In * either case, the function will be called with no arguments. * @param addProps -- optional additional props to apply to the element. These will override * any existing props placed on the element, and should be used with care. */ export declare function elementFromContent(content: Content, addProps?: object): ReactElement; /** * TypeScript friendly wrapper for React renderToStaticMarkup. */ export declare function renderToStaticMarkup(element: ReactElement): string;