import type { PlugComponentType, PluginEventHandlers, PluginMethodHandlers, PluginSpec, PluginWithEvents, PluginWithMethods } from 'react-plugin'; export declare function getMethodsOf(pluginName: Spec['name']): Spec["methods"] extends import("ui-plugin/dist/types/PluginSpec").PluginMethods ? Spec["methods"] : never; export declare function on(pluginName: Spec['name'], handlers: PluginEventHandlers): void; export declare function mockMethodsOf(pluginName: Spec['name'], methods: PluginMethodHandlers): void; export declare function mockPlug(slotName: string, component: PlugComponentType): void;