import { PluginUIContext } from 'molstar/lib/mol-plugin-ui/context'; import { PluginUISpec } from 'molstar/lib/mol-plugin-ui/spec'; import { ComponentProps, JSXElementConstructor } from 'react'; export interface LayoutSpecComponent> { target: string | HTMLElement; component: T; props?: ComponentProps; } export declare function LayoutSpecComponent>(target: string | HTMLElement, component: T, props?: ComponentProps): LayoutSpecComponent; export type LayoutSpec = LayoutSpecComponent[]; export declare function createPluginSplitUI(options: { layout: LayoutSpec; spec?: PluginUISpec; render?: (component: any, container: Element) => any; onBeforeUIRender?: (ctx: PluginUIContext) => (Promise | void); }): Promise; export declare function resolveHTMLElement(element: HTMLElement | string): HTMLElement;