/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { HarnessPredicate } from '@angular/cdk/testing'; import { MatListHarnessBase } from './list-harness-base'; import { ActionListHarnessFilters, ActionListItemHarnessFilters } from './list-harness-filters'; import { MatListItemHarnessBase } from './list-item-harness-base'; /** Harness for interacting with a standard mat-action-list in tests. */ export declare class MatActionListHarness extends MatListHarnessBase { /** The selector for the host element of a `MatActionList` instance. */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a `MatActionListHarness` that meets * certain criteria. * @param options Options for filtering which action list instances are considered a match. * @return a `HarnessPredicate` configured with the given options. */ static with(options?: ActionListHarnessFilters): HarnessPredicate; _itemHarness: typeof MatActionListItemHarness; } /** Harness for interacting with an action list item. */ export declare class MatActionListItemHarness extends MatListItemHarnessBase { /** The selector for the host element of a `MatListItem` instance. */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a `MatActionListItemHarness` that * meets certain criteria. * @param options Options for filtering which action list item instances are considered a match. * @return a `HarnessPredicate` configured with the given options. */ static with(options?: ActionListItemHarnessFilters): HarnessPredicate; /** Clicks on the action list item. */ click(): Promise; /** Focuses the action list item. */ focus(): Promise; /** Blurs the action list item. */ blur(): Promise; /** Whether the action list item is focused. */ isFocused(): Promise; }