import { StyledElement, StyledElementView } from "./styled_element"; import type { Node } from "../coordinates/node"; import type { Menu } from "./menus/menu"; import type { Align } from "../../core/enums"; import type { SizingPolicy } from "../../core/layout"; import type { ViewOf } from "../../core/view"; import type { StyleSheetLike } from "../../core/dom"; import { InlineStyleSheet } from "../../core/dom"; import { CanvasLayer } from "../../core/util/canvas"; import type { XY } from "../../core/util/bbox"; import { BBox } from "../../core/util/bbox"; import type * as p from "../../core/properties"; export type DOMBoxSizing = { width_policy: SizingPolicy | "auto"; height_policy: SizingPolicy | "auto"; width: number | null; height: number | null; aspect_ratio: number | "auto" | null; halign?: Align; valign?: Align; }; export declare abstract class UIElementView extends StyledElementView { model: UIElement; protected readonly display: InlineStyleSheet; computed_stylesheets(): InlineStyleSheet[]; stylesheets(): StyleSheetLike[]; update_style(): void; box_sizing(): DOMBoxSizing; private _bbox; get bbox(): BBox; update_bbox(): boolean; protected _update_bbox(): boolean; protected _resize_observer: ResizeObserver; protected _context_menu: ViewOf