import { ComponentHarness, BaseHarnessFilters, HarnessPredicate } from '@angular/cdk/testing'; /** Harness filters for ComCollapsibleHarness. */ interface ComCollapsibleHarnessFilters extends BaseHarnessFilters { /** Filter by whether the collapsible is expanded. */ expanded?: boolean; /** Filter by whether the collapsible is disabled. */ disabled?: boolean; } /** * Harness for interacting with a ComCollapsible in tests. */ declare class ComCollapsibleHarness extends ComponentHarness { static hostSelector: string; private readonly trigger; private readonly content; /** * Gets a HarnessPredicate for matching collapsibles. * @param options Filter options. */ static with(options?: ComCollapsibleHarnessFilters): HarnessPredicate; /** Whether the collapsible is currently expanded. */ isExpanded(): Promise; /** Whether the collapsible is disabled. */ isDisabled(): Promise; /** Toggles the collapsible by clicking the trigger. */ toggle(): Promise; /** Expands the collapsible if it is currently collapsed. */ expand(): Promise; /** Collapses the collapsible if it is currently expanded. */ collapse(): Promise; /** Gets the text content of the trigger element. */ getTriggerText(): Promise; /** Gets the text content of the content element. */ getContentText(): Promise; /** Gets the role attribute of the content element. */ getContentRole(): Promise; /** Gets the aria-controls attribute from the trigger. */ getAriaControls(): Promise; /** Gets the aria-labelledby attribute from the content. */ getAriaLabelledby(): Promise; /** Whether the content element has the inert attribute. */ isContentInert(): Promise; /** Focuses the trigger element. */ focus(): Promise; /** Blurs the trigger element. */ blur(): Promise; /** Whether the trigger element is focused. */ isFocused(): Promise; } export { ComCollapsibleHarness }; export type { ComCollapsibleHarnessFilters };