/** * For some god-forsaken stupid reason, hidePopover throws an error * if the element is already hidden, and then breaks the entire app. * This avoids that. */ export declare function safelyHidePopover(el: HTMLElement): void; /** * showPopover is equally stupid. */ export declare function safelyShowPopover(el: HTMLElement): void; export declare function getParentPopoversAndDialogs(element: HTMLElement): Generator; export declare function areAllParentPopoversAndDialogsOpen(element: HTMLElement): boolean; export declare function isDialogOrPopoverOpen(element: HTMLElement): boolean; type AutoOpenPopoverArgs = { el: HTMLElement; }; export declare function autoOpenPopover({ el }: AutoOpenPopoverArgs): (() => void) | undefined; export {};