import { ECupActionType, ICup } from '../../types';
export declare const useCupAction: () => {
    run: (this: unknown, cupId: string, action: ECupActionType) => Promise<boolean>;
    loading: boolean;
};
/**
 * @description: 批量归还杯子
 * @return {*}
 */
export declare const useBatchCupAction: () => {
    run: (this: unknown, eco_cup_ids: number[] | string[]) => Promise<boolean>;
    loading: boolean;
};
/**
 * @description: 统计杯子列表中的客户、店铺、时间数量
 * @param {ICup[]} cupList - 杯子列表
 * @return {object} 返回统计信息和是否为多个的标识
 */
export declare const useCupListStatistics: (cupList: ICup[]) => {
    hasMultipleCustomers: boolean;
    hasMultipleShops: boolean;
    hasMultipleTimes: boolean;
    uniqueCustomer: import("../../types").ICustomer | undefined;
    uniqueShop: {
        id: string;
        name: string;
    } | undefined;
    uniqueTime: string | undefined;
} | {
    hasMultipleCustomers: boolean;
    hasMultipleShops: boolean;
    hasMultipleTimes: boolean;
    uniqueCustomer: null;
    uniqueShop: null;
    uniqueTime: null;
};
