| /** |
| * @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 { MatChipHarness } from './chip-harness'; |
| import { ChipOptionHarnessFilters } from './chip-harness-filters'; |
| export declare class MatChipOptionHarness extends MatChipHarness { |
| /** The selector for the host element of a selectable chip instance. */ |
| static hostSelector: string; |
| /** |
| * Gets a `HarnessPredicate` that can be used to search for a `MatChipOptionHarness` |
| * that meets certain criteria. |
| * @param options Options for filtering which chip instances are considered a match. |
| * @return a `HarnessPredicate` configured with the given options. |
| */ |
| static with(options?: ChipOptionHarnessFilters): HarnessPredicate<MatChipOptionHarness>; |
| /** Whether the chip is selected. */ |
| isSelected(): Promise<boolean>; |
| /** Selects the given chip. Only applies if it's selectable. */ |
| select(): Promise<void>; |
| /** Deselects the given chip. Only applies if it's selectable. */ |
| deselect(): Promise<void>; |
| /** Toggles the selected state of the given chip. */ |
| toggle(): Promise<void>; |
| } |