import { UniDriver } from '@wix/unidriver-core'; export type ModalUniDriver = ReturnType; export declare const modalUniDriverFactory: (base: UniDriver, body: UniDriver) => { /** true if the modal is on the DOM */ exists: () => Promise; /** true when the module is open */ isOpen: () => Promise; getChildBySelector: (selector: string) => Promise; idx?: number; timeBudget?: number; }, any> | null>; /** true if the modal is scrollable */ isScrollable: () => Promise; closeButtonExists: () => Promise; /** click on the modal overlay (helpful for testing if the modal is dismissed) */ clickOnOverlay: () => Promise; clickOnCloseButton: () => Promise; /** click on navigation control previous button */ clickOnNavigationPrevious: () => Promise; /** click on navigation control next button */ clickOnNavigationNext: () => Promise; navigationPreviousExists: () => Promise; navigationNextExists: () => Promise; getNavigationPreviousLabel: () => Promise; getNavigationNextLabel: () => Promise; /** returns the element of the modal content (helpful to initialize a layout testkit) */ getContent: () => Promise; /** returns the style of the modal content */ getContentStyle: () => Promise; /** returns the modal aria-label value as given in contentLabel property */ getContentLabel: () => Promise; getZIndex: () => Promise; element: () => Promise; click: () => Promise; base: UniDriver; }; //# sourceMappingURL=Modal.uni.driver.d.ts.map