1 | import { BaseHarnessFilters } from '@angular/cdk/testing';
|
2 | import { ContentContainerComponentHarness } from '@angular/cdk/testing';
|
3 | import { HarnessPredicate } from '@angular/cdk/testing';
|
4 |
|
5 | export declare interface BottomSheetHarnessFilters extends BaseHarnessFilters {
|
6 | }
|
7 |
|
8 | /** Harness for interacting with a standard MatBottomSheet in tests. */
|
9 | export declare class MatBottomSheetHarness extends ContentContainerComponentHarness<string> {
|
10 | static hostSelector: string;
|
11 | /**
|
12 | * Gets a `HarnessPredicate` that can be used to search for a bottom sheet with
|
13 | * specific attributes.
|
14 | * @param options Options for narrowing the search.
|
15 | * @return a `HarnessPredicate` configured with the given options.
|
16 | */
|
17 | static with(options?: BottomSheetHarnessFilters): HarnessPredicate<MatBottomSheetHarness>;
|
18 | /** Gets the value of the bottom sheet's "aria-label" attribute. */
|
19 | getAriaLabel(): Promise<string | null>;
|
20 | /**
|
21 | * Dismisses the bottom sheet by pressing escape. Note that this method cannot
|
22 | * be used if "disableClose" has been set to true via the config.
|
23 | */
|
24 | dismiss(): Promise<void>;
|
25 | }
|
26 |
|
27 | export { }
|