/// import { IConfigurableFormComponent } from '@shesha/reactjs'; import { FormInstance } from 'antd'; import { SizeType } from 'antd/lib/config-provider/SizeContext'; import { IPopContent } from 'components/global/generalTable/utils/interface'; import { ILabelParams } from 'components/global/interfaces'; import { Moment } from 'moment'; import { IBookingCalendar, ICalendarPayload } from './interface'; export declare const dateCellRender: (v: Moment, slots: ICalendarPayload[], { title, content }: IPopContent, script: string) => JSX.Element; export declare const formatDate: (date: string) => string; export declare const formatNullable: (value: string, fallback: string) => string; export declare const formattedSlots: (slots?: ICalendarPayload[]) => ICalendarPayload[]; export declare const getPopContent: (content: ILabelParams[]) => JSX.Element; export declare const getPopContentData: (date: Moment, slots: ICalendarPayload[], title?: string, content?: ILabelParams[]) => IPopContent; export declare const getRowSize: (len: number, maxLen: number) => number; export declare const getRowSizeOption: (size: SizeType, large: number, middle: number, small: number) => number; export declare const getCalendarParams: (form: FormInstance, name: string) => any; export declare const hasDateGotCapacity: (currentDate: Moment, slots?: ICalendarPayload[]) => boolean; export declare const isNullString: (value: string) => boolean; export declare const initialCalendarState: (state: IBookingCalendar) => { model: { hideLabel: boolean; type: string; description?: string; validate?: import("@shesha/reactjs").IComponentValidationRules; disabled?: boolean; readOnly?: boolean; customEnabled?: string; defaultValue?: any; size?: SizeType; isDynamic?: boolean; subscribedEventNames?: string[]; style?: string; id: string; parentId?: string; version?: number | "latest"; name: string; label?: string; labelAlign?: import("@shesha/reactjs").LabelAlign; hidden?: boolean; visibility?: import("@shesha/reactjs").VisibilityType; customVisibility?: string; visibilityFunc?: (data: any, globalState: any, formMode: import("@shesha/reactjs").FormMode) => boolean; enabledFunc?: (data: any, globalState: any, formMode: import("@shesha/reactjs").FormMode) => boolean; settingsValidationErrors?: import("@shesha/reactjs").IAsyncValidationError[]; onBlurCustom?: string; onChangeCustom?: string; onFocusCustom?: string; }; }; export declare const changeCalendarState: (state: IBookingCalendar, model: IConfigurableFormComponent, hasCapacity: boolean) => IBookingCalendar; export declare const getPath: (payload?: object, path?: string) => string;