import { CalendarDate, DateValue } from '@internationalized/date'; import { RangeValue } from '../range-calendar.component'; import { CalendarBase } from './calendar-base'; import { EventEmitter } from '@angular/core'; import { BooleanInput } from '@angular/cdk/coercion'; import * as i0 from "@angular/core"; export declare class RangeCalendarDirective extends CalendarBase { /** * The currently selected date. */ value?: RangeValue; /** * Emits when the currently selected date changes by user interactions. * Emits DateRange, to allow for two-way binding (`[(value)]="..."`). */ valueChange: EventEmitter>; autoFocus?: BooleanInput; /** * The minimum allowed date that a user may select. */ get minValue(): DateValue | undefined | null; set minValue(value: DateValue | undefined | null); private _minValue?; /** * The maximum allowed date that a user may select. */ get maxValue(): DateValue | undefined | null; set maxValue(value: DateValue | undefined | null); private _maxValue?; /** * Whether range is allowed to span unavailable dates. */ allowUnavailableDatesWithinRange?: BooleanInput; get anchorDate(): CalendarDate | null; private _anchorDate; ngOnInit(): void; writeValue(obj: RangeValue): void; /** * Select a date via UI. depending on the state of selection, it may start * a new selection or finish the ongoing one. */ selectDate(date: CalendarDate): void; /** * Sets the value of the range programmatically. */ setValue(value: RangeValue): void; /** * Cancels ongoing selection, if any */ cancelSelection(): void; getTimezone(): string; isSelected(date: CalendarDate): boolean; private handleTouchMove; /** * updates the selected range via a UI interaction. * @param newValue */ _updateValue(newValue: RangeValue): void; getHighlightedRange(): RangeValue | null; setAnchorDate(date: DateValue): void; private firstDateBeforeUnavailable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }