/**
 * @title: 格式化购物车列表
 * @description:
 * @param {any} state
 * @return {*}
 * @Author: WangHan
 * @Date: 2024-11-28 16:52
 */
export declare const formatCartList: (state: any) => any;
/**
 * @title: 是否是空页面
 * @description:
 * @param {any} state
 * @return {*}
 * @Author: WangHan
 * @Date: 2024-11-28 16:47
 */
export declare const isEmptyStatus: (state: any) => boolean;
/**
 * @title: 是否是商品列表页面
 * @description:
 * @param {any} state
 * @return {*}
 * @Author: WangHan
 * @Date: 2024-11-28 17:23
 */
export declare const isProductList: (state: any) => boolean;
/**
 * @title: 格式化数据最终结果
 * @description:
 * @param {any} state
 * @return {*}
 * @Author: WangHan
 * @Date: 2024-11-28 18:35
 */
export declare const formatState: (state: any) => {
    isEmpty: boolean;
    isProductList: boolean;
    carts: any;
};
/**
 * @title: 更新商品
 * @description:
 * @param {any} newState
 * @param {any} state
 * @return {*}
 * @Author: WangHan
 * @Date: 2024-11-28 22:30
 */
export declare const updateProduct: (state: any, newProducts: any[]) => {
    products: any[];
    carts: any;
};
/**
 * @title: 格式化服务
 * @description:
 * @param {any} service
 * @param {number} id holder_id
 * @return {*}
 * @Author: WangHan
 * @Date: 2024-12-09 22:47
 */
export declare const formatService: (service: any[], id: number) => any[];
