import type { ReactElement } from 'react'; import type { PluginElementNodeType, PluginElementRenderProps, PluginElementsMap } from './types'; export type PluginJSXElementProps = { render: (props: PluginElementRenderProps) => JSX.Element; props?: Record; children?: ReactElement | ReactElement[]; nodeType?: PluginElementNodeType; placeholder?: string; }; export type PluginJSXElement = ReactElement; export declare function buildPluginElements(jsxElement: PluginJSXElement, pluginType: string): PluginElementsMap; export declare function isReactElement(value: unknown): value is PluginJSXElement; //# sourceMappingURL=build-plugin-elements.d.ts.map