import moment from 'dayjs'; import React, { CSSProperties } from 'react'; import { type ClassValue } from '../../utils/cx'; import { DateType } from './Calendar'; export declare type PickerOption = string | number | PickerObjectOption; export declare type PickerObjectOption = { value?: string | number; text?: string | number; disabled?: boolean; } & Record; interface CustomDaysViewProps { classPrefix?: string; translate?: any; prevIcon?: string; nextIcon?: string; viewDate: moment.Dayjs; selectedDate: moment.Dayjs; minDate: moment.Dayjs; maxDate: moment.Dayjs; useMobileUI: boolean; embed: boolean; timeFormat: string; requiredConfirm?: boolean; isEndDate?: boolean; renderDay?: Function; onClose?: () => void; onChange: (value: moment.Dayjs) => void; onConfirm?: (value: number[], types: DateType[]) => void; setDateTimeState: (state: any) => void; setTime: (type: string, amount: number) => void; subtractTime: (amount: number, type: string, toSelected?: moment.Dayjs) => () => void; addTime: (amount: number, type: string, toSelected?: moment.Dayjs) => () => void; isValidDate?: (currentDate: moment.Dayjs, selected?: moment.Dayjs) => boolean; showView: (view: string) => () => void; updateSelectedDate: (event: React.MouseEvent, close?: boolean) => void; handleClickOutside: () => void; classnames: CSSProperties; schedules?: Array<{ startTime: Date; endTime: Date; content: any; className?: ClassValue; }>; largeMode?: boolean; onScheduleClick?: (scheduleData: any) => void; hideHeader?: boolean; getColumns: (types: DateType[], dateBoundary: void) => any; getDateBoundary: (currentDate: moment.Dayjs) => any; } export declare class CustomDaysView extends React.Component { state: { columns: { options: PickerOption[]; }[]; types: DateType[]; pickerValue: number[]; }; getDaysOfWeek(locale: any): any[]; alwaysValidDate(): number; renderDays(): any[]; constructor(props: any); updateSelectedDate: (event: React.MouseEvent) => void; setTime: (type: 'hour' | 'minute' | 'second' | 'millisecond', value: number) => void; confirm: () => void; cancel: () => void; renderDay: (props: any, currentDate: moment.Dayjs) => JSX.Element; computedTimeOptions(total: number): { label: string; value: string; }[]; renderTimes: () => JSX.Element; renderFooter: () => JSX.Element; onPickerConfirm: (value: number[]) => void; onPickerChange: (value: number[], index: number) => void; render(): JSX.Element; } declare const _default: (props: CustomDaysViewProps) => JSX.Element; export default _default;