import { UniDriver } from '@wix/wix-ui-test-utils/unidriver'; import { ButtonType } from './types'; export declare const paginationDriverFactory: (base: UniDriver) => { /** Check if element is rendered */ isVisible: () => Promise; /** Returns currently selected page */ getCurrentPage: () => UniDriver; /** Returns a total amount of pages available */ getTotalPages: () => Promise; /** Returns the current page and total pages in 'compact' mode */ getCompactPages: () => Promise; /** Clicks on gives page number */ clickOnPage: (n: number) => Promise; /** Clicks on next button */ clickNextButton: () => Promise; /** Clicks on previous button */ clickPreviousButton: () => Promise; /** Returns the container of page elements when pagination is 'pages' mode*/ getPageStrip: () => UniDriver; /** Returns displayed page elements */ getPageElements: () => Promise; /** Returns the text content of the displayed pages in "pages" mode */ getPageLabels: () => Promise; /** Returns the page element given page number */ getPageByNumber: (n: number) => UniDriver; /** Returns the element for the navigation button - acceptable values are 'first', 'last', 'previous' or 'next' */ getNavButton: (name: ButtonType) => UniDriver; /** Returns the all navigation buttons */ getNavButtons: () => { firstButton: UniDriver; previousButton: UniDriver; nextButton: UniDriver; lastButton: UniDriver; }; /** Returns the node in which total pages are displayed */ getTotalPagesLabel: () => UniDriver; /** Returns the node in which slash is displayed, only in 'compact' mode */ getSlashLabel: () => UniDriver; /** Returns the container of page elements when pagination is 'compact' mode*/ getCompact: () => UniDriver; /** Returns the page input element in "input" mode */ getPageInput: () => { blur: () => Promise; focus: () => Promise; isFocus: () => Promise; exists: () => Promise; $: (selector: import("@wix/unidriver-core").Locator) => UniDriver; $$: (selector: import("@wix/unidriver-core").Locator) => import("@wix/unidriver-core").UniDriverList; get: (selector: import("@wix/unidriver-core").Locator, options?: import("@wix/unidriver-core").GetOptions) => Promise>; getAll: (selector: import("@wix/unidriver-core").Locator, options?: import("@wix/unidriver-core").GetOptions) => Promise>; text: () => Promise; click: () => Promise; hover: () => Promise; pressKey: (key: import("@wix/unidriver-core").KeyDefinitionType) => Promise; value: () => Promise; enterValue: (value: string, options?: import("@wix/unidriver-core").EnterValueOptions) => Promise; attr: (name: string) => Promise; mouse: import("@wix/unidriver-core").MouseUniDriver; getNative: () => Promise; hasClass: (name: string) => Promise; type: string; _prop: (name: string) => Promise; wait: (timeout?: number) => Promise; isDisplayed?: () => Promise; scrollIntoView?: () => Promise<{}>; }; /** Returns the total amount of pages displayed in "input" mode */ getTotalPagesField: () => UniDriver; /** Simulates changing the value of the input field in "input" mode */ changeInput: (newValue: string) => Promise; /** Simulates committing the input field value in "input" mode */ commitInput: () => Promise; /** Checks if the input has an error */ inputHasError: () => Promise; /** Check if element is in mobile environment */ isMobile: () => Promise; dblClick: () => Promise; keyDown: (key?: string) => Promise; keyUp: (key?: string) => Promise; exists: () => Promise; element: () => Promise; click: () => Promise; }; export type PaginationDriver = ReturnType; //# sourceMappingURL=Pagination.driver.d.ts.map