/** * @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; /** Whether the chip is selected. */ isSelected(): Promise; /** Selects the given chip. Only applies if it's selectable. */ select(): Promise; /** Deselects the given chip. Only applies if it's selectable. */ deselect(): Promise; /** Toggles the selected state of the given chip. */ toggle(): Promise; }