import { ComponentHarness, BaseHarnessFilters, HarnessPredicate } from '@angular/cdk/testing'; /** Harness filters for ComTimePickerHarness. */ interface ComTimePickerHarnessFilters extends BaseHarnessFilters { /** Filter by whether the time picker is disabled. */ disabled?: boolean; } /** * Harness for interacting with a ComTimePicker in tests. */ declare class ComTimePickerHarness extends ComponentHarness { static hostSelector: string; private readonly hourInput; private readonly minuteInput; private readonly secondInput; private readonly periodToggle; /** * Gets a HarnessPredicate for matching time pickers. * @param options Filter options. */ static with(options?: ComTimePickerHarnessFilters): HarnessPredicate; /** Gets the current hours value from the hours spinbutton. */ getHours(): Promise; /** Gets the current minutes value from the minutes spinbutton. */ getMinutes(): Promise; /** Gets the current seconds value, or null if seconds field is not shown. */ getSeconds(): Promise; /** Gets the current period (AM/PM), or null if not in 12-hour format. */ getPeriod(): Promise<'AM' | 'PM' | null>; /** Sets the hours value by clearing and typing into the hours input. */ setHours(value: number): Promise; /** Sets the minutes value by clearing and typing into the minutes input. */ setMinutes(value: number): Promise; /** Sets the seconds value. Throws if the seconds field is not shown. */ setSeconds(value: number): Promise; /** Toggles the AM/PM period. Throws if not in 12-hour format. */ togglePeriod(): Promise; /** Whether the time picker is disabled. */ isDisabled(): Promise; /** Whether the seconds field is visible. */ hasSeconds(): Promise; /** Whether the time picker is in 12-hour format (has a period toggle). */ has12HourFormat(): Promise; /** Focuses the hours input element. */ focus(): Promise; /** Blurs the hours input element. */ blur(): Promise; /** Whether the time picker host element is focused. */ isFocused(): Promise; } export { ComTimePickerHarness }; export type { ComTimePickerHarnessFilters };