import dayjs from 'dayjs'; export declare const getDurationProps: ({ cacheItem, useStartTime, currentResource, slice, }: any) => { startDate: dayjs.Dayjs; usableTime: any; duration: string | number | { type: string; value: number; }; locale: string; slice: any; selectProps: { size: string; }; }; /** * @title: 灵活时长选项 * @description: * @param {*} useMemo * @return {*} * @Author: zhiwei.Wang * @Date: 2024-02-23 10:10 */ export declare const getFlexibleOption: ({ cacheItem, useStartTime, currentResource, slice, durationProps, }: any) => { label: any; value: any; } | null; /** * @title: 时间切片 * @description: * @return {*} * @Author: zhiwei.Wang * @Date: 2024-01-09 13:37 */ export declare const getTimeObj: ({ cacheItem, useStartTime, currentResource, state, useDuration, durationProps, }: any) => { timeSlices: { label: string; value: string; }[]; durationSlicesBasedOnTime: { label: string; value: number; }[]; }; /** * @title: 获取资源列表 * @description: * @return {*} * @Author: zhiwei.Wang * @Date: 2024-01-09 13:38 */ export declare const formatResources: ({ cacheItem, resourcesOrigin, isDay }: any) => any[]; export declare const checkCacheItemResource: ({ cacheItem, resources }: any) => any; /** * @title: 预生成服务的 extend * @description: * @param {any} param1 * @return {*} * @Author: zhiwei.Wang * @Date: 2024-06-01 13:25 */ export declare const getProductExtend: ({ cacheItem, state }: any) => any; /** * @title: 获取资源标题 * @description: * @param {any} param1 * @return {*} * @Author: WangHan * @Date: 2024-12-09 15:53 */ export declare const getResourceTitle: ({ state, id }: any) => any; export declare const getMultiDay: ({ start_date, end_date, state, cacheItem, }: any) => Promise;