import { ComponentHarness, BaseHarnessFilters, HarnessPredicate } from '@angular/cdk/testing'; /** Harness filters for ComCheckboxHarness. */ interface ComCheckboxHarnessFilters extends BaseHarnessFilters { /** Filter by the checkbox's projected label text. */ label?: string | RegExp; /** Filter by whether the checkbox is disabled. */ disabled?: boolean; /** Filter by whether the checkbox is checked. */ checked?: boolean; } /** * Harness for interacting with a ComCheckbox in tests. */ declare class ComCheckboxHarness extends ComponentHarness { static hostSelector: string; private readonly label; private readonly input; private readonly labelText; /** * Gets a HarnessPredicate for matching checkboxes. * @param options Filter options. */ static with(options?: ComCheckboxHarnessFilters): HarnessPredicate; /** Whether the checkbox is currently checked. */ isChecked(): Promise; /** Whether the checkbox is disabled. */ isDisabled(): Promise; /** Whether the checkbox is in the indeterminate state. */ isIndeterminate(): Promise; /** Whether the checkbox is required. */ isRequired(): Promise; /** Gets the checkbox's projected label text. */ getLabelText(): Promise; /** Gets the checkbox's name attribute. */ getName(): Promise; /** Gets the checkbox's aria-label attribute. */ getAriaLabel(): Promise; /** Gets the checkbox's aria-labelledby attribute. */ getAriaLabelledby(): Promise; /** Toggles the checkbox by clicking the label element. */ toggle(): Promise; /** Checks the checkbox if it is currently unchecked. */ check(): Promise; /** Unchecks the checkbox if it is currently checked. */ uncheck(): Promise; /** Focuses the checkbox's input element. */ focus(): Promise; /** Blurs the checkbox's input element. */ blur(): Promise; /** Whether the checkbox's input element is focused. */ isFocused(): Promise; } export { ComCheckboxHarness }; export type { ComCheckboxHarnessFilters };