/** * Copyright (c) 2018-2024 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author David Sehnal * @author Alexander Rose */ import { PluginUIContext } from './context.js'; import { PluginUISpec } from './spec.js'; export declare function createPluginUI(options: { target: HTMLElement; render: (component: any, container: Element) => any; spec?: PluginUISpec; onBeforeUIRender?: (ctx: PluginUIContext) => (Promise | void); }): Promise;