import React from 'react'; export interface CreateFallbackComponentParams { [key: string]: any; name: string; moduleName: string; } /** * Creates a component that displays an error message with the Component name and the node module * name of the plugin that registers this plugin. */ export declare const createFallbackComponent: ({ name, moduleName }: CreateFallbackComponentParams) => { (): JSX.Element; displayName: string; }; /** * Like getComponent, but with a fallback component, if the original component is not found. */ export declare function getComponentWithFallback(opts: CreateFallbackComponentParams): (...keys: Array>) => React.ComponentType;