import { OnDestroy, EventEmitter, OnInit, ElementRef } from '@angular/core'; import { DateAdapter } from '@angular/material/core'; import { MatCalendar, MatDatepicker } from '@angular/material/datepicker'; import { Moment } from 'moment'; import { IDatepickerOption } from '../../../models/IDatepickerOption'; import { FormControl } from '@angular/forms'; export declare const MY_FORMATS_MY: { parse: { dateInput: string; }; display: { dateInput: string; monthYearLabel: string; dateA11yLabel: string; monthYearA11yLabel: string; }; }; export declare class DatepickerMonthYearComponent implements OnInit { ffDatepickerHeader: typeof FFDatepickerHeaderMY; el: ElementRef; /** * Options to configure min and max date to datepicker * Use the IDatepickerOption interface: { minDate: Date, maxDate: Date } * * @internal */ options?: IDatepickerOption; /** * Options to enable ordisable the datepicker * * @internal */ isDisabled?: boolean; /** * Options to enable ordisable the datepicker * * @internal */ placeholder?: string; /** * Return the selection updated each time the user choses a new date. * * @internal */ selection: EventEmitter; date: Date; formDate: FormControl; minDate: Date; maxDate: Date; constructor(); ngOnInit(): void; ngOnChanges(): void; chosenYearHandler(normalizedYear: Moment): void; chosenMonthHandler(normalizedMonth: Moment, datepicker: MatDatepicker): void; } /** Custom header component for datepicker. */ export declare class FFDatepickerHeaderMY implements OnDestroy { private _calendar; private _dateAdapter; private _destroyed; constructor(_calendar: MatCalendar, _dateAdapter: DateAdapter); ngOnDestroy(): void; get yearLabel(): string; get monthLabel(): string; previousClicked(mode: 'month' | 'year'): void; nextClicked(mode: 'month' | 'year'): void; }