import { ToBPayContextType } from '../types';
/**
 * 使用商家端支付的Hook
 * @throws {Error} 如果在ToBPayProvider外部使用会抛出错误
 * @returns {ToBPayContextType} 商家端支付上下文
 */
export declare const useToBPay: () => ToBPayContextType;
export declare const useOSPayment: () => any;
/**
 * 使用OS支付的Hook
 */
export declare const useOSPaymentEffect: () => {
    osPaymentEffectOn: () => void;
    osPaymentEffectOff: () => void;
};
