import dayjs from 'dayjs';
/**
 * @title: 格式化商品为二维结构
 * @description:
 * @param {any} list
 * @param {any} filterItem
 * @return {*}
 * @Author: zhiwei.Wang
 * @Date: 2024-03-05 18:01
 */
export declare const formatProductListByCategory: (list: any, filterItem: any) => unknown[];
/**
 * @title: 获取背景色
 * @description:
 * @param {string} colors
 * @return {*}
 * @Author: zhiwei.Wang
 * @Date: 2024-03-05 18:02
 */
export declare const formatBackgroundColors: (colors: string[]) => string;
/**
 * @title: 获取 schedules 的所有颜色
 * @description:
 * @param {any} schedules
 * @return {*}
 * @Author: zhiwei.Wang
 * @Date: 2024-03-05 18:02
 */
export declare const getScheduleColors: (schedules: any[]) => string;
/**
 * @title: 获取当前商品的最小开始时间和最大结束时间  --废弃
 * @description:
 * @return {*}
 * @Author: zhiwei.Wang
 * @Date: 2024-03-05 18:02
 */
export declare const getProductMinTimeRangeStr: ({ schedules, product, }: any) => any;
/**
 * @title: 获取数组内最小的时间和最大的时间
 * @description:
 * @param {any} array
 * @return {*}
 * @Author: zhiwei.Wang
 * @Date: 2024-03-05 18:04
 */
export declare const getMinTimeRange: (array: any) => {
    minTime: any;
    maxTime: any;
};
/**
 * @title: 获取店铺的营业时间 开始-结束
 * @description:
 * @return {*}
 * @Author: zhiwei.Wang
 * @Date: 2024-03-05 18:04
 */
export declare const getShopOpeningHoursRange: () => {
    shopStartDate: dayjs.Dayjs;
    shopEndDate: dayjs.Dayjs;
    shopStartTime: string;
    shopEndTime: string;
};
/**
 * @title: 将时间范围格式化
 * @description:
 * @param {any} range
 * @return {*}
 * @Author: zhiwei.Wang
 * @Date: 2024-03-05 18:05
 */
export declare const getMinTimeRangeStr: (range: any) => any;
/**
 * @title: 获取可用的 schedule
 * @description:
 * @param {any} schedule
 * @return {*}
 * @Author: zhiwei.Wang
 * @Date: 2024-03-05 18:05
 */
export declare const getUsableSchedules: (schedule: any) => boolean;
/**
 * @title: 获取单个 Schedule 内 最小的时间和最大的时间 --废弃
 * @description:
 * @param {any} item
 * @return {*}
 * @Author: zhiwei.Wang
 * @Date: 2024-03-05 18:06
 */
export declare const getMinTimeRangeBySchedule: (item: any) => {
    startDate: dayjs.Dayjs;
    endDate: dayjs.Dayjs;
};
/**
 * 1. 获取每个日程的最小开始时间和最大结束时间.
 * 2.
 */
export declare const formatProductSchedules: (products: any, scheduleMap: any) => any;
export declare const updateProductById: ({ products, scheduleMap, id, schedule }: {
    products: any;
    scheduleMap: any;
    id: number;
    schedule: any;
}) => any;
