import { ComponentHarness, BaseHarnessFilters, HarnessPredicate } from '@angular/cdk/testing'; /** Harness filters for ComDialogContainerHarness. */ type ComDialogContainerHarnessFilters = BaseHarnessFilters; /** * Harness for interacting with a dialog container in tests. * * Because dialogs render inside a CDK overlay (outside the component tree), * obtain this harness via `TestbedHarnessEnvironment.documentRootLoader(fixture)`. */ declare class ComDialogContainerHarness extends ComponentHarness { static hostSelector: string; private readonly panel; private readonly titleEl; private readonly contentEl; private readonly actionsEl; private readonly closeButton; /** * Gets a HarnessPredicate for matching dialog containers. * @param options Filter options. */ static with(options?: ComDialogContainerHarnessFilters): HarnessPredicate; /** Gets the dialog panel's `aria-label` attribute. */ getAriaLabel(): Promise; /** Gets the dialog panel's `aria-labelledby` attribute. */ getAriaLabelledby(): Promise; /** Gets the dialog panel's `aria-describedby` attribute. */ getAriaDescribedby(): Promise; /** Gets the role attribute on the dialog panel. */ getRole(): Promise; /** Gets the text content of the `[comDialogTitle]` element, or null if none exists. */ getTitleText(): Promise; /** Gets the text content of the `[comDialogContent]` element, or null if none exists. */ getContentText(): Promise; /** Gets the text content of the `[comDialogActions]` element, or null if none exists. */ getActionsText(): Promise; /** Gets the `data-state` attribute on the dialog panel. */ getState(): Promise; /** * Closes the dialog by clicking the `[comDialogClose]` button. * Throws if no close button is found. */ close(): Promise; /** Sends an Escape key press to the dialog panel to close it. */ sendEscapeKey(): Promise; /** Whether the dialog container is disabled. */ isDisabled(): Promise; /** Whether the dialog panel is focused. */ isFocused(): Promise; /** Focuses the dialog panel. */ focus(): Promise; /** Blurs the dialog panel. */ blur(): Promise; } export { ComDialogContainerHarness }; export type { ComDialogContainerHarnessFilters };