// Type definitions for @dyna-grid/core v1.1.4 // Project: // Definitions by: zhangkun <> import { IComponent } from "../interfaces/iComponent"; import { IDateFilterParams } from "../filter/provided/date/dateFilter"; export interface IDate { /** Returns the current date represented by this editor */ getDate(): Date | null; /** Sets the date represented by this component */ setDate(date: Date | null): void; setInputPlaceholder?(placeholder: string): void; setInputAriaLabel?(placeholder: string): void; } export interface IDateParams { /** Method for component to tell DYNA Grid that the date has changed. */ onDateChanged: () => void; filterParams: IDateFilterParams; } export interface IDateComp extends IComponent, IDate { }