import { CustomElement } from "../../internal/custom-element.js"; import { CommandDirective } from "../../internal/utils/command-directive.js"; import { PopoverPlacementOptions } from "./compute-popover-placement.js"; import { OdxPopover } from "./popover.js"; import { PropertyValues } from "lit"; declare const PopoverToggleCommand: CommandDirective<"odx-popover-toggle">; type PopoverHostPlacement = (typeof PopoverHostPlacement)[keyof typeof PopoverHostPlacement]; declare const PopoverHostPlacement: { readonly TOP: "top"; readonly TOP_START: "top-start"; readonly TOP_END: "top-end"; readonly RIGHT: "right"; readonly RIGHT_START: "right-start"; readonly RIGHT_END: "right-end"; readonly BOTTOM: "bottom"; readonly BOTTOM_START: "bottom-start"; readonly BOTTOM_END: "bottom-end"; readonly LEFT: "left"; readonly LEFT_START: "left-start"; readonly LEFT_END: "left-end"; }; declare class PopoverHost extends CustomElement { #private; private static initialized; static readonly styles: import("lit").CSSResult[]; protected popoverElement?: OdxPopover; disabled: boolean; open: boolean; set referenceElement(value: HTMLElement | null); get referenceElement(): HTMLElement | null; placement: PopoverHostPlacement; get popoverPlacementOptions(): PopoverPlacementOptions; constructor(); connectedCallback(): void; disconnectedCallback(): void; hasMountedPopover(element: HTMLElement): boolean; mountPopover(referenceElement: HTMLElement | null): void; unmountPopover(_referenceElement: HTMLElement): void; hasOpenPopover(referenceElement: HTMLElement | null): boolean; showPopover(): Promise; hidePopover(): void; togglePopover(state?: boolean): boolean; canPopoverShow?(): boolean; onBeforePopoverShow?(): Promise | void; onPopoverShow?(): Promise | void; canPopoverHide?(): boolean; onBeforePopoverHide?(): Promise | void; onPopoverHide?(): Promise | void; updateReferenceElementFromEvent(event: Event): void; protected willUpdate(props: PropertyValues): void; } export { PopoverHost, PopoverHostPlacement, type PopoverPlacementOptions, PopoverToggleCommand };