/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing'; import { MatFormFieldControlHarness } from '@angular/material/form-field/testing/control'; import { DatepickerInputHarnessFilters } from './datepicker-harness-filters'; /** Sets up the filter predicates for a datepicker input harness. */ export declare function getInputPredicate(type: ComponentHarnessConstructor, options: DatepickerInputHarnessFilters): HarnessPredicate; /** Base class for datepicker input harnesses. */ export declare abstract class MatDatepickerInputHarnessBase extends MatFormFieldControlHarness { /** 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; /** Gets the formatted minimum date for the input's value. */ getMin(): Promise; /** Gets the formatted maximum date for the input's value. */ getMax(): Promise; }