import { ComponentHarness, BaseHarnessFilters, HarnessPredicate } from '@angular/cdk/testing'; /** Harness filters for ComAlertHarness. */ interface ComAlertHarnessFilters extends BaseHarnessFilters { /** Filter by the alert's title text. */ title?: string | RegExp; } /** * Harness for interacting with a ComAlert in tests. */ declare class ComAlertHarness extends ComponentHarness { static hostSelector: string; private readonly alertEl; private readonly titleEl; private readonly descriptionEl; private readonly dismissButton; /** * Gets a HarnessPredicate for matching alerts. * @param options Filter options. */ static with(options?: ComAlertHarnessFilters): HarnessPredicate; /** Gets the alert's title text, or null if no title is projected. */ getTitle(): Promise; /** Gets the alert's description text, or null if no description is projected. */ getDescription(): Promise; /** Gets the full text content of the alert element. */ getText(): Promise; /** Gets the role attribute of the alert element. */ getRole(): Promise; /** Gets the aria-live attribute of the alert element. */ getAriaLive(): Promise; /** Whether the alert has a dismiss button. */ isDismissible(): Promise; /** Clicks the dismiss button. Throws if the alert is not dismissible. */ dismiss(): Promise; /** Whether the alert is currently visible (not dismissed). */ isVisible(): Promise; } export { ComAlertHarness }; export type { ComAlertHarnessFilters };