import type { AgStandaloneWidgetApi } from '../../api/state/agWidgetState'; import { Component } from '../core/component'; import type { WidgetContainer } from '../widgets/widgetContainer'; export declare class StandaloneWidget extends Component { readonly widgetId: string; private readonly widgetContainer; private readonly parent; private readonly draggable; private dragSource; private mounted; constructor(widgetId: string, widgetContainer: WidgetContainer, parent: HTMLElement, draggable?: boolean); postConstruct(): void; /** * Returns the public API for this standalone widget */ getApi(): AgStandaloneWidgetApi; private mountToParent; private unmountFromParent; private setupDragSource; private updateDragSource; private removeDragSource; private destroyWidget; private updateWidget; destroy(): void; }