export interface Overlays { /** * A method to open an overlay. * [HTMLElement showPopover() method](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/showPopover) * * @param id The unique identifier of the overlay element to show. */ showOverlay?: (id: string) => void; /** * A method to close an overlay. * [HTMLElement hidePopover() method](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/hidePopover) * * @param id The unique identifier of the overlay element to hide. */ hideOverlay?: (id: string) => void; /** * A method to toggle the visiblity of an overlay. * [HTMLElement togglePopover() method](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/togglePopover) * * @param id The unique identifier of the overlay element to toggle. */ toggleOverlay?: (id: string) => void; }