import { popoverNextUniDriverFactory } from '../../PopoverNext/PopoverNext.uni.driver';
export const closablePopoverUniDriverFactory = (base, body) => {
    const popoverDriver = popoverNextUniDriverFactory(base, body);
    return {
        ...popoverNextUniDriverFactory(base, body),
        /**
         * Checks whether the popover's content is open
         * @return {Promise<boolean>}
         */
        isOpened: () => popoverDriver.isContentElementExists(),
    };
};
//# sourceMappingURL=ClosablePopover.uni.driver.js.map