import { IDocumentFactory, IElementLike, IPortalElement } from "@mml-io/networked-dom-web"; import { OrientedBoundingBox } from "../bounding-box"; import { GraphicsAdapter } from "../graphics"; import { TransformableElement } from "./TransformableElement"; export declare enum OverlayAnchor { "top-left" = "top-left", "top-center" = "top-center", "top-right" = "top-right", "center-left" = "center-left", "center" = "center", "center-right" = "center-right", "bottom-left" = "bottom-left", "bottom-center" = "bottom-center", "bottom-right" = "bottom-right" } export type MOverlayProps = { href: string | null; target: string | null; anchor: OverlayAnchor; offsetX: number; offsetY: number; }; export declare class Overlay extends TransformableElement implements IPortalElement { static tagName: string; private overlayGraphics; private overlayElement; private mode; props: MOverlayProps; private static attributeHandler; static get observedAttributes(): Array; constructor(); private updateOverlayElementPosition; private isVirtualMode; getPortalDocumentFactory(): IDocumentFactory | null; getPortalElement(): IElementLike; parentTransformed(): void; isClickable(): boolean; attributeChangedCallback(name: string, oldValue: string | null, newValue: string): void; protected disable(): void; protected enable(): void; getContentBounds(): OrientedBoundingBox | null; connectedCallback(): void; disconnectedCallback(): void; } //# sourceMappingURL=Overlay.d.ts.map