import { Placement } from '@floating-ui/dom'; export declare class PostPopover { private popoverRef; private localBeforeToggleHandler; host: HTMLPostPopoverElement; /** * Defines the placement of the popover according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement. * Popoverss are automatically flipped to the opposite side if there is not enough available space and are shifted * towards the viewport if they would overlap edge boundaries. */ readonly placement?: Placement; /** * Define the caption of the close button for assistive technology */ readonly closeButtonCaption: string; /** * Show a little indicator arrow */ readonly arrow?: boolean; constructor(); connectedCallback(): void; componentDidLoad(): void; disconnectedCallback(): void; /** * Programmatically display the popover * @param target An element with [data-popover-target="id"] where the popover should be shown */ show(target: HTMLElement): Promise; /** * Programmatically hide this popover */ hide(): Promise; /** * Toggle popover display * @param target An element with [data-popover-target="id"] where the popover should be anchored to * @param force Pass true to always show or false to always hide */ toggle(target: HTMLElement, force?: boolean): Promise; private get triggers(); private beforeToggleHandler; render(): any; }