import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing'; import { S as SortDirection } from '../../sort-direction.d-CF7VUsH-.js'; interface SortHarnessFilters extends BaseHarnessFilters { } interface SortHeaderHarnessFilters extends BaseHarnessFilters { label?: string | RegExp; sortDirection?: SortDirection; } /** Harness for interacting with a standard Angular Material sort header in tests. */ declare class MatSortHeaderHarness extends ComponentHarness { static hostSelector: string; private _container; /** * Gets a `HarnessPredicate` that can be used to * search for a sort header with specific attributes. */ static with(options?: SortHeaderHarnessFilters): HarnessPredicate; /** Gets the label of the sort header. */ getLabel(): Promise; /** Gets the sorting direction of the header. */ getSortDirection(): Promise; /** Gets whether the sort header is currently being sorted by. */ isActive(): Promise; /** Whether the sort header is disabled. */ isDisabled(): Promise; /** Clicks the header to change its sorting direction. Only works if the header is enabled. */ click(): Promise; } /** Harness for interacting with a standard `mat-sort` in tests. */ declare class MatSortHarness extends ComponentHarness { static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a `mat-sort` with specific attributes. * @param options Options for narrowing the search. * @return a `HarnessPredicate` configured with the given options. */ static with(options?: SortHarnessFilters): HarnessPredicate; /** Gets all of the sort headers in the `mat-sort`. */ getSortHeaders(filter?: SortHeaderHarnessFilters): Promise; /** Gets the selected header in the `mat-sort`. */ getActiveHeader(): Promise; } export { MatSortHarness, MatSortHeaderHarness }; export type { SortHarnessFilters, SortHeaderHarnessFilters };