Promise<boolean>: whether the UI was closed successfully
Example
import { PluginManager } from 'sn-plugin-lib';/** * Example: close the plugin UI. */export async function exampleClosePluginView() { const ok = await PluginManager.closePluginView(); return ok;}