import { BaseObserver } from "./BaseObserver"; /** * Base widget class providing core DOM element management and identification. * * Extends BaseObserver to provide reactive data capabilities along with fundamental * widget element operations and unique identification. */ export declare class BaseWidget extends BaseObserver { /** The mounted DOM element wrapper for this widget */ element: HTMLElement | null; /** Unique numeric identifier for this widget instance */ elementIdentifier: number; /** Flag indicating whether the widget has been mounted to the DOM */ widgetMounted: boolean; /** * Gets the root component element of this widget. * * @returns The widget's root HTML element or null if not mounted */ getComponent(): HTMLElement | null; /** * Finds an element by ID within this widget's scope. * * @param identifier - The element ID to search for (without '#' prefix) * @returns The found HTML element or null if not found */ getElementById(identifier: string): HTMLElement | null; /** * Generates a unique identifier for this widget's wrapper element. * * Creates a random number to uniquely identify the widget and its children * from other widgets in the DOM. * * @returns The generated identifier as a string */ createWidgetWrapperIdentifier(): string; }