blob: d48a5067c88c190e5c97056396d47faec841f63c [file] [log] [blame]
/**
* @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 { ContentContainerComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
import { DrawerContainerHarnessFilters, DrawerHarnessFilters } from './drawer-harness-filters';
import { MatDrawerContentHarness } from './drawer-content-harness';
import { MatDrawerHarness } from './drawer-harness';
/** Harness for interacting with a standard mat-drawer-container in tests. */
export declare class MatDrawerContainerHarness extends ContentContainerComponentHarness<string> {
/** The selector for the host element of a `MatDrawerContainer` instance. */
static hostSelector: string;
/**
* Gets a `HarnessPredicate` that can be used to search for a `MatDrawerContainerHarness` that
* meets certain criteria.
* @param options Options for filtering which container instances are considered a match.
* @return a `HarnessPredicate` configured with the given options.
*/
static with(options?: DrawerContainerHarnessFilters): HarnessPredicate<MatDrawerContainerHarness>;
/**
* Gets drawers that match particular criteria within the container.
* @param filter Optionally filters which chips are included.
*/
getDrawers(filter?: DrawerHarnessFilters): Promise<MatDrawerHarness[]>;
/** Gets the element that has the container's content. */
getContent(): Promise<MatDrawerContentHarness>;
}