import { BaseHarnessFilters, ComponentHarness, ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing'; import { O as OptionHarnessFilters, M as MatOptionHarness } from '../../option-harness.d-IqsW95GR.js'; /** A set of criteria that can be used to filter a list of `MatTimepickerHarness` instances. */ interface TimepickerHarnessFilters extends BaseHarnessFilters { } /** A set of criteria that can be used to filter a list of timepicker input instances. */ interface TimepickerInputHarnessFilters extends BaseHarnessFilters { /** Filters based on the value of the input. */ value?: string | RegExp; /** Filters based on the placeholder text of the input. */ placeholder?: string | RegExp; } /** A set of criteria that can be used to filter a list of timepicker toggle instances. */ interface TimepickerToggleHarnessFilters extends BaseHarnessFilters { } declare class MatTimepickerHarness extends ComponentHarness { private _documentRootLocator; static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a timepicker with specific * attributes. * @param options Options for filtering which timepicker instances are considered a match. * @return a `HarnessPredicate` configured with the given options. */ static with(this: ComponentHarnessConstructor, options?: TimepickerHarnessFilters): HarnessPredicate; /** Whether the timepicker is open. */ isOpen(): Promise; /** Gets the options inside the timepicker panel. */ getOptions(filters?: Omit): Promise; /** Selects the first option matching the given filters. */ selectOption(filters: OptionHarnessFilters): Promise; /** Gets the selector that can be used to find the timepicker's panel. */ protected _getPanelSelector(): Promise; } /** Harness for interacting with a standard Material timepicker inputs in tests. */ declare class MatTimepickerInputHarness extends ComponentHarness { private _documentRootLocator; static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a `MatTimepickerInputHarness` * that meets certain criteria. * @param options Options for filtering which input instances are considered a match. * @return a `HarnessPredicate` configured with the given options. */ static with(this: ComponentHarnessConstructor, options?: TimepickerInputHarnessFilters): HarnessPredicate; /** Gets whether the timepicker associated with the input is open. */ isTimepickerOpen(): Promise; /** Opens the timepicker associated with the input and returns the timepicker instance. */ openTimepicker(): Promise; /** Closes the timepicker associated with the input. */ closeTimepicker(): Promise; /** * Gets the `MatTimepickerHarness` that is associated with the input. * @param filter Optionally filters which timepicker is included. */ getTimepicker(filter?: TimepickerHarnessFilters): Promise; /** Whether the input is disabled. */ isDisabled(): Promise; /** Whether the input is required. */ isRequired(): Promise; /** Gets the value of the input. */ getValue(): Promise; /** * Sets the value of the input. The value will be set by simulating * keypresses that correspond to the given value. */ setValue(newValue: string): Promise; /** Gets the placeholder of the input. */ getPlaceholder(): Promise; /** * Focuses the input and returns a promise that indicates when the * action is complete. */ focus(): Promise; /** * Blurs the input and returns a promise that indicates when the * action is complete. */ blur(): Promise; /** Whether the input is focused. */ isFocused(): Promise; } /** Harness for interacting with a standard Material timepicker toggle in tests. */ declare class MatTimepickerToggleHarness extends ComponentHarness { static hostSelector: string; /** The clickable button inside the toggle. */ private _button; /** * Gets a `HarnessPredicate` that can be used to search for a `MatTimepickerToggleHarness` that * meets certain criteria. * @param options Options for filtering which timepicker toggle instances are considered a match. * @return a `HarnessPredicate` configured with the given options. */ static with(options?: TimepickerToggleHarnessFilters): HarnessPredicate; /** Opens the timepicker associated with the toggle. */ openTimepicker(): Promise; /** Gets whether the timepicker associated with the toggle is open. */ isTimepickerOpen(): Promise; /** Whether the toggle is disabled. */ isDisabled(): Promise; } export { MatTimepickerHarness, MatTimepickerInputHarness, MatTimepickerToggleHarness }; export type { TimepickerHarnessFilters, TimepickerInputHarnessFilters, TimepickerToggleHarnessFilters };