import { ECupScanStatus, ICup } from '../../types';
/**
 * @description: 搜索客户
 */
export declare const useSearchCustomer: () => {
    run: (text: string) => any;
};
/**
 * @description: 搜索杯码
 */
export declare const useSearchCup: () => {
    run: (text: string) => any;
};
/**
 * 搜索
 */
export declare const useSearch: () => {
    loading: boolean;
    run: (params: {
        searchType?: 'customer' | 'cup';
        searchText?: string;
    }) => Promise<{
        status: string;
        message: any;
        type?: undefined;
        data?: undefined;
    } | {
        status: string;
        type: "customer" | "cup";
        data: any;
        message?: undefined;
    } | {
        status: string;
        type: "customer" | "cup";
        message: any;
        data?: undefined;
    }>;
};
/**
 * 判定当前杯子的状态
 */
export declare const useCupScanStatus: () => {
    getCupScanStatus: (cup?: ICup, customerId?: string) => ECupScanStatus.OTHER_IN_STOCK | ECupScanStatus.OTHER_RENT | ECupScanStatus.MISSING | ECupScanStatus.BROKEN | ECupScanStatus.NOT_FOUND | undefined;
};
