import { AfterViewInit, EventEmitter, ElementRef } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; export declare const DATEPICKER_VALUE_ACCESSOR: any; export declare class DatePickerJqueryControl implements ControlValueAccessor, AfterViewInit { private elRef; /** The placeholder property */ private placeholder; /** Date value input */ date: Date; /** The show icon flag property*/ showIcon: boolean; /** The bottom, left corner radius property*/ startRadius: boolean; /** The bottom, right corner radius property*/ endRadius: boolean; /** The language name property*/ language: string; /** The change event emit property */ change: EventEmitter; onTouched: Function; /** The control id number*/ private id; /** The global control id number (will be increased 1 when it has the constructor)*/ private static staticID; /** Date value display */ private dateString; /***/ private isHighlight; /** * Represents a DatePicker component * @constructor * @param cd NgControl * @param elRef ElementRef */ constructor(elRef: ElementRef); /** * Get min date value */ /** * Set min date value */ minDate: Date; /** * Get max date value */ /** * Set max date value */ maxDate: Date; /** * Get current value of component */ getValue(): Date; /** * Implements method(registerOnChange) of interface ControlValueAccessor * @param fn */ registerOnChange(fn: (value: Date) => void): void; /** * Implements method(registerOnTouched) of interface ControlValueAccessor * @param fn */ registerOnTouched(fn: () => void): void; /** * Implements method(writeValue) of interface ControlValueAccessor * @param value The write value */ writeValue(value: Date): void; /** * Check valid date value * @param d Date value */ isValidDate(d: any): boolean; /** * Set new value for date component if value is valid raise change event with new value else null value * @param newValue Date string value */ setDate(newValue: string): void; /** * Implements method(ngAfterViewInit) of interface AfterViewInit */ ngAfterViewInit(): void; changeZIndex(): void; }