import { ComponentElement } from 'react'; /** * Defined behavior of a plugin type. * * @typedef ComponentExtension * * */ export interface WorbenchExtension { name: string; icon: string | ComponentElement | Function; render: React.FC | any; } /** * Registeres a plugin to the App. * * @param name A string identifying the plugin. Must be unique across all registered plugins. * @param settings The settings for this plugin. */ export declare function registerPlugin(name: any, settings: any): any; /** * Unregisteres a plugin by name. * @param name Plugin name. * * @return The previous plugin settings object, if it has been successfully unregistered; otherwise `undefined`. */ export declare function unregisterPlugin(name: any): WorbenchExtension; /** * Returns a registered plugin settings. * * @param name Plugin name. * * @returns Plugin setting. */ export declare function getPlugin(name: any): WorbenchExtension; /** * Return all registered plugins. * * @return Plugin settings. */ export declare function getPlugins(): WorbenchExtension[];