import React from 'react'; import { ResourceBrowserInputProps } from '../ResourceBrowserInput/ResourceBrowserInput'; import { ResourceBrowserPluginType, InlineType } from '../types'; /** * This plugin component exsits to deal with React rules of Hooks stupidity. * * For it to not freak out when we want to change from one plugin to another we have to render * something to the ReactDom for each plugin and 'activate' that component when that plugin * needs to render its UI etc. */ export type PluginRenderType = ResourceBrowserInputProps & { type: ResourceBrowserPluginType | null; render: boolean; inline: boolean; inlineType?: InlineType; onRetry: () => void; ref?: React.Ref; }; export declare const PluginRender: React.ForwardRefExoticComponent & React.RefAttributes>;