import { MmUIComponent } from './component' export type DatePickerType = 'year' | 'month' | 'date' | 'date-time' export type DatePickerValueType = 'string' | 'date' | 'timestamp' export interface disabledDate { (date: Date): boolean } export interface disabledTime { () : { disabledHours(hour: number) : boolean disabledMinutes(hour: number, minute: number) : boolean disabledSeconds(hour: number, minute: number, second: number) : boolean } } /** DatePicker Component */ export declare class MmDatePicker extends MmUIComponent { /** The value of the date picker */ value: number | Date | string | number[] | Date[] | string[] /** The value type of the date picker */ valueType: DatePickerValueType /** Format of the picker */ format: string /** Format of binding value. If not specified, the binding value will be a Date object */ valueFormat: string /** Type of the picker */ type: DatePickerType /** Alignment */ align: string /** Date picker select mode */ mode: 'single' | 'range' /** Range separator */ rangeSeparator: string /** Judge the date is disabled or not */ disabledDate: disabledDate /** Judge the time is disabled or not */ disabledTime: disabledTime }