import React from 'react'; import { IControlled } from '@epam/uui-core'; import { CommonDatePickerBodyProps, ViewType } from './types'; import { Dayjs } from '../../helpers/dayJsHelper'; export interface DatePickerBodyProps extends CommonDatePickerBodyProps, IControlled { /** * Manually handles holidays */ isHoliday?: (day: Dayjs) => boolean; /** * Controls the initially displayed month and year when the picker opens (format: 'YYYY-MM'). * If not specified, defaults to the current month. */ initialViewMonth?: string; } export declare const uuiDatePickerBody: { readonly wrapper: "uui-datepicker-body-wrapper"; }; export declare const DatePickerBody: React.ForwardRefExoticComponent>; export interface StatelessDatePickerBodyValue { value: TSelection | null; month: Dayjs; view: ViewType; } export interface StatelessDatePickerBodyProps extends CommonDatePickerBodyProps, StatelessDatePickerBodyValue { onValueChange: (value: string | null) => void; onMonthChange: (m: Dayjs) => void; onViewChange: (v: ViewType) => void; isHoliday?: (day: Dayjs) => boolean; } export declare const StatelessDatePickerBody: React.ForwardRefExoticComponent>; //# sourceMappingURL=DatePickerBody.d.ts.map