import { ComponentHarness, BaseHarnessFilters, HarnessPredicate } from '@angular/cdk/testing'; /** Harness filters for ComPaginatorHarness. */ interface ComPaginatorHarnessFilters extends BaseHarnessFilters { /** Filter by whether the paginator is disabled. */ disabled?: boolean; } /** * Harness for interacting with a ComPaginator in tests. */ declare class ComPaginatorHarness extends ComponentHarness { static hostSelector: string; private readonly previousButton; private readonly nextButton; private readonly firstButton; private readonly lastButton; private readonly rangeLabel; private readonly select; private readonly nav; /** * Gets a HarnessPredicate for matching paginators. * @param options Filter options. */ static with(options?: ComPaginatorHarnessFilters): HarnessPredicate; /** Navigates to the first page. Throws if the first page button is not present. */ goToFirstPage(): Promise; /** Navigates to the previous page. */ goToPreviousPage(): Promise; /** Navigates to the next page. */ goToNextPage(): Promise; /** Navigates to the last page. Throws if the last page button is not present. */ goToLastPage(): Promise; /** Navigates to a specific page (1-based). Throws if page button is not present. */ goToPage(pageNumber: number): Promise; /** Gets the range label text. */ getRangeLabel(): Promise; /** Gets the current page size from the select element. Throws if no select is present. */ getPageSize(): Promise; /** Sets the page size by selecting a value. Throws if no select is present. */ setPageSize(size: number): Promise; /** Whether the previous page button is disabled. */ isPreviousPageDisabled(): Promise; /** Whether the next page button is disabled. */ isNextPageDisabled(): Promise; /** Whether the paginator is fully disabled (both prev and next buttons disabled). */ isDisabled(): Promise; /** Gets the aria-label of the navigation element. */ getAriaLabel(): Promise; /** Whether the paginator navigation is focused. */ isFocused(): Promise; /** Focuses the paginator host element. */ focus(): Promise; /** Blurs the paginator host element. */ blur(): Promise; } export { ComPaginatorHarness }; export type { ComPaginatorHarnessFilters };