type PopoverData = {
    contentEl: Element;
    backdropEl?: Element;
    ignoreEl?: Element;
    close: (e: MouseEvent | KeyboardEvent) => void;
};
export declare const RENDERED_POPOVERS: PopoverData[];
export declare function removePopoverData(popoverData: PopoverData): void;
export declare function shouldClosePopover(e: MouseEvent | KeyboardEvent, popoverData: PopoverData): boolean | undefined;
export default function useSequencedContentCloseHandler(): {
    setupCloseHandler: (contentEl: Element | null, close: () => void) => void;
    removeCloseHandler: () => void;
};
export {};
