import * as _angular_cdk_testing from '@angular/cdk/testing'; import { BaseHarnessFilters, ComponentHarness, ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing'; import { MatSelectHarness } from '../../select/testing/index.js'; import '../../option-harness.d-IqsW95GR.js'; import '../../core/testing/index.js'; import '../../form-field/testing/control/index.js'; /** A set of criteria that can be used to filter a list of `MatPaginatorHarness` instances. */ interface PaginatorHarnessFilters extends BaseHarnessFilters { } /** Harness for interacting with a mat-paginator in tests. */ declare class MatPaginatorHarness extends ComponentHarness { /** Selector used to find paginator instances. */ static hostSelector: string; private _nextButton; private _previousButton; private _firstPageButton; private _lastPageButton; _select: () => Promise; private _pageSizeFallback; _rangeLabel: () => Promise<_angular_cdk_testing.TestElement>; /** * Gets a `HarnessPredicate` that can be used to search for a paginator with specific attributes. * @param options Options for filtering which paginator instances are considered a match. * @return a `HarnessPredicate` configured with the given options. */ static with(this: ComponentHarnessConstructor, options?: PaginatorHarnessFilters): HarnessPredicate; /** Goes to the next page in the paginator. */ goToNextPage(): Promise; /** Returns whether or not the next page button is disabled. */ isNextPageDisabled(): Promise; isPreviousPageDisabled(): Promise; /** Goes to the previous page in the paginator. */ goToPreviousPage(): Promise; /** Goes to the first page in the paginator. */ goToFirstPage(): Promise; /** Goes to the last page in the paginator. */ goToLastPage(): Promise; /** * Sets the page size of the paginator. * @param size Page size that should be select. */ setPageSize(size: number): Promise; /** Gets the page size of the paginator. */ getPageSize(): Promise; /** Gets the text of the range label of the paginator. */ getRangeLabel(): Promise; } export { MatPaginatorHarness }; export type { PaginatorHarnessFilters };