import { AfterViewInit, ChangeDetectorRef, EventEmitter } from '@angular/core'; import { ControlValueAccessor, ValidatorFn } from '@angular/forms'; import * as i0 from "@angular/core"; export interface Attributes { id?: string; role?: string; style?: CSSStyleDeclaration; tabIndex?: number; } export interface ElementProps { attributes: Attributes; classes: string[]; } export interface DatepickerOptions { label?: string; currentDate?: Date | string; selectedDate?: Date | string; showWeeks?: boolean; minDate?: Date; maxDate?: Date; dateFormat?: string; onChange?: (selectedDate: Date) => void; } /** * @deprecated * NggDatepicker is deprecated in favor of GdsDatepicker found in the Core package * https://storybook.seb.io/latest/core/?path=/docs/components-datepicker--docs */ export declare class NggDatepickerComponent implements ControlValueAccessor, AfterViewInit { private _cdr; size?: 'small' | 'medium'; hideLabel?: boolean; disabledWeekends?: boolean; disabledDates?: Date[]; get options(): DatepickerOptions; set options(value: DatepickerOptions); get showWeekNumbers(): boolean; get dateFormat(): string; get value(): string | Date | undefined; set value(newValue: string | Date | undefined); id?: string; label?: string; isValid: boolean | null; readonly valueChange: EventEmitter; onChangeFn?: (value: any) => void; onTouchedFn?: any; _value: Date | undefined; private _options?; get min(): Date | undefined; get max(): Date | undefined; constructor(_cdr: ChangeDetectorRef); writeValue(value: any): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; onDateChange(evt: Event): void; ngAfterViewInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare function dateValidator(dates?: { min?: Date; max?: Date; }): ValidatorFn;