/**
 * 支付或退款
 * @param failAction 失败回调
 */
export declare const useLinklyPayOrRefund: (handleCheck: () => boolean) => {
    action: {
        pay: import("ahooks/lib/useRequest/src/types").Result<any, [data: any]>;
    };
    payOrRefund: (resultQuery: any, handleLinklySuccess: any) => void;
};
/**
 * @title: 取消支付或退款
 * @description: 取消支付或退款调用接口后不管成功还是失败都需要调用支付查询接口
 */
export declare const useLinklyCancel: (handleCheck: () => boolean) => {
    action: {
        cancel: import("ahooks/lib/useRequest/src/types").Result<any, [param: any]>;
    };
    linklyCancel: (resultQuery: any) => void;
};
/**
 * @title: 支付或退款签名
 * @description: 支付或退款签名调用接口后不管成功还是失败都需要调用支付查询接口
 */
export declare const useLinklySignature: (handleCheck: () => boolean) => {
    action: {
        signature: import("ahooks/lib/useRequest/src/types").Result<any, [param: any]>;
    };
    linklySignature: (status: number, resultQuery: any) => void;
};
