import { Eftpos } from './const';
/**
 * @title: tyro 设备连接
 * @Author: hongbing.wang
 * @Date: 2024-08-20 13:23
 */
export declare const usePairTerminalo: (type: Eftpos, params: {
    url?: string;
    version?: string;
}) => ({ mid, tid, apiKey, posProductData, }: {
    mid: string;
    tid: string;
    apiKey: string;
    posProductData: {
        posProductVendor: string;
        posProductName: string;
        posProductVersion: string;
        siteReference: string;
    };
}, cb: (...agrn: unknown[]) => void) => Promise<void>;
/**
 * @title: 获取 Tyro 资源
 * @description:
 * @param {Eftpos} type 类型
 * @param {string} url 链接
 * @return {*}
 * @Author: hongbing.wang
 * @Date: 2024-08-19 18:36
 */
export declare const useTyro: (params: {
    url?: string;
    version?: string;
}) => readonly [import("react").MutableRefObject<any>, boolean];
export declare const useRequest: () => any;
/**
 * @title 配对请求
 */
export declare const usePairRequest: () => {
    run: (params: any) => any;
};
/**
 * @title 检查配对状态
 */
export declare const useCheckPairRequest: () => {
    run: (params: any) => any;
};
