import { ElementRef, EventEmitter, OnInit, OnDestroy, OnChanges, SimpleChanges } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import 'daterangepicker'; import * as i0 from "@angular/core"; export interface DateRangePickerOptions { startDate?: Date | string; endDate?: Date | string; minDate?: Date | string; maxDate?: Date | string; locale?: any; ranges?: any; opens?: 'left' | 'right' | 'center'; drops?: 'down' | 'up' | 'auto'; buttonClasses?: string; applyButtonClasses?: string; cancelButtonClasses?: string; autoApply?: boolean; alwaysShowCalendars?: boolean; showDropdowns?: boolean; showWeekNumbers?: boolean; showISOWeekNumbers?: boolean; singleDatePicker?: boolean; timePicker?: boolean; timePicker24Hour?: boolean; timePickerIncrement?: number; timePickerSeconds?: boolean; linkedCalendars?: boolean; autoUpdateInput?: boolean; isInvalidDate?: (date: Date) => boolean; isCustomDate?: (date: Date) => string | boolean; parentEl?: string | HTMLElement; } export declare class DaterangepickerDirective implements OnInit, OnDestroy, OnChanges, ControlValueAccessor { private el; options: DateRangePickerOptions; startDate?: Date | string; endDate?: Date | string; minDate?: Date | string; maxDate?: Date | string; parentEl?: string | HTMLElement; datesUpdated: EventEmitter<{ startDate: Date | null; endDate: Date | null; }>; cancelClicked: EventEmitter; applyClicked: EventEmitter<{ startDate: Date | null; endDate: Date | null; }>; private pickerInstance; private onChange; private onTouched; /** * Safely update the input text to avoid "Invalid date" or "undefined" strings. */ private updateInputValue; constructor(el: ElementRef); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; private initDaterangepicker; private updateDates; private updateMinMaxDates; private destroyPicker; writeValue(value: { start: Date | null; end: Date | null; } | null): void; registerOnChange(fn: (value: any) => void): void; registerOnTouched(fn: () => void): void; setDisabledState(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }