/** * @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 { HarnessPredicate, ComponentHarness } from '@angular/cdk/testing'; import { CalendarCellHarnessFilters } from './datepicker-harness-filters'; /** Harness for interacting with a standard Material calendar cell in tests. */ export declare class MatCalendarCellHarness extends ComponentHarness { static hostSelector: string; /** Reference to the inner content element inside the cell. */ private _content; /** * Gets a `HarnessPredicate` that can be used to search for a `MatCalendarCellHarness` * that meets certain criteria. * @param options Options for filtering which cell instances are considered a match. * @return a `HarnessPredicate` configured with the given options. */ static with(options?: CalendarCellHarnessFilters): HarnessPredicate; /** Gets the text of the calendar cell. */ getText(): Promise; /** Gets the aria-label of the calendar cell. */ getAriaLabel(): Promise; /** Whether the cell is selected. */ isSelected(): Promise; /** Whether the cell is disabled. */ isDisabled(): Promise; /** Whether the cell is currently activated using keyboard navigation. */ isActive(): Promise; /** Whether the cell represents today's date. */ isToday(): Promise; /** Selects the calendar cell. Won't do anything if the cell is disabled. */ select(): Promise; /** Hovers over the calendar cell. */ hover(): Promise; /** Moves the mouse away from the calendar cell. */ mouseAway(): Promise; /** Focuses the calendar cell. */ focus(): Promise; /** Removes focus from the calendar cell. */ blur(): Promise; /** Whether the cell is the start of the main range. */ isRangeStart(): Promise; /** Whether the cell is the end of the main range. */ isRangeEnd(): Promise; /** Whether the cell is part of the main range. */ isInRange(): Promise; /** Whether the cell is the start of the comparison range. */ isComparisonRangeStart(): Promise; /** Whether the cell is the end of the comparison range. */ isComparisonRangeEnd(): Promise; /** Whether the cell is inside of the comparison range. */ isInComparisonRange(): Promise; /** Whether the cell is the start of the preview range. */ isPreviewRangeStart(): Promise; /** Whether the cell is the end of the preview range. */ isPreviewRangeEnd(): Promise; /** Whether the cell is inside of the preview range. */ isInPreviewRange(): Promise; /** Returns whether the cell has a particular CSS class-based state. */ private _hasState; }