/** * NOTE: demos at dev/pending.html * TODO: hijack all `hidePopover()`s to allow more complex JS animations */ import { LitElement, PropertyValues } from 'lit'; import { Placement, Strategy } from '@floating-ui/dom'; import { autoAttachToParent, handleControlChange } from './mixins/attachable.js'; declare const Popup_base: Constructor & Constructor & typeof LitElement; /** * When using popup with menu, you need to manually bind them using `aria-controls` */ export declare class Popup extends Popup_base { #private; open: boolean; noFocusControl: boolean; align: Placement; strategy: Strategy; offset: number; windowPadding: number; $ariaControl: HTMLElement | null; static styles: any[]; render(): import("lit-html").TemplateResult<1>; constructor(); connectedCallback(): void; disconnectedCallback(): void; protected updated(changedProperties: PropertyValues): void; [autoAttachToParent]: boolean; [handleControlChange](prev: HTMLElement | null, next: HTMLElement | null): void; toggle(): Promise; show(): Promise; hide(): Promise; _show(): Promise; _hide(): Promise; _cleanup(): void; } export {};