import { Type } from '@angular/core';
import { ElCalendarRange } from '../calendar/calendar-range.component';
import { ElDatepickerComponent, ElRangepickerComponent } from './datepicker.component';
import { ElDatepickerAdapter } from './datepicker.directive';
import { ElDateService } from '../calendar-kit/services/date.service';
export declare class ElDateAdapterService<D> extends ElDatepickerAdapter<D> {
    protected dateService: ElDateService<D>;
    picker: Type<ElDatepickerComponent<D>>;
    constructor(dateService: ElDateService<D>);
    parse(date: string, format: any): D;
    format(date: D, format: string): string;
    isValid(date: string, format: string): boolean;
}
export declare class ElRangeAdapterService<D> extends ElDatepickerAdapter<ElCalendarRange<D>> {
    protected dateService: ElDateService<D>;
    picker: Type<ElRangepickerComponent<D>>;
    constructor(dateService: ElDateService<D>);
    parse(range: string, format: any): ElCalendarRange<D>;
    format(range: ElCalendarRange<D>, format: string): string;
    isValid(range: string, format: string): boolean;
}
