import { OnDestroy, OnInit } from '@angular/core'; import { MatCalendar } from '@angular/material/datepicker'; import { DateAdapter, MatDateFormats } from '@angular/material/core'; import { FormGroup } from '@angular/forms'; import { DatepickerService } from '../../services/datepicker.service'; import { Subject } from 'rxjs'; import * as i0 from "@angular/core"; /** * Provides implementation of date picker custom header and being used in date-picker component. * @export * @class DatePickerHeaderComponent * @implements {OnInit} * @implements {OnDestroy} */ export declare class DatePickerHeaderComponent implements OnInit, OnDestroy { calendar: MatCalendar; dateAdapter: DateAdapter; dateFormats: MatDateFormats; private datepickerService; destroy$: Subject; group: FormGroup; arrowDirection: boolean; range: { start: string; end: string; }; isRangeSelection: boolean; selectedDate: string; datePickerInfo: any; constructor(calendar: MatCalendar, dateAdapter: DateAdapter, dateFormats: MatDateFormats, datepickerService: DatepickerService); /** * Implementation of ngOnInit lifecycle hook method to initialize components instance properties. * @memberof DatePickerHeaderComponent */ ngOnInit(): void; /** * Sets the min and max date range. * @param {({ start: Date | string; end: Date | string })} range * @memberof DatePickerHeaderComponent */ setRange(range: { start: Date | string; end: Date | string; }): void; /** * Implementation of getMonthLabel method to get the month label. * @readonly * @return {string} * @memberof DatePickerHeaderComponent */ get getMonthLabel(): string; /** * Sets previous month in a calendar on click of previous month arrow in date picker. * @param {('month' | 'year')} mode * @memberof DatePickerHeaderComponent */ setPreviousMonth(mode: 'month' | 'year'): void; /** * Sets next month in a calendar on click of previous month arrow in date picker. * @param {('month' | 'year')} mode * @memberof DatePickerHeaderComponent */ setNextMonth(mode: 'month' | 'year'): void; /** * Sets the calendar current view on the open of year drop down in date picker. * @memberof DatePickerHeaderComponent */ setCalendarView(): void; /** * Implementation of ngOnDestroy lifecycle hook method to unsubscribe the open observable subscriptions. * @memberof DatePickerHeaderComponent */ ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }