import { DappPortalSDKConfig } from '../config/config'; import { CryptoApproveTxInfo, FeeDelegatedTransactionResponse, PaymentInfo, StartPaymentResponse } from '../message/PaymentMessage'; export declare class PaymentClient { private readonly baseUrl; private readonly maxRetryCount; private readonly clientId; constructor(config: DappPortalSDKConfig); getPayment: (paymentId: string) => Promise; getCryptoApproveTxInfo: (paymentId: string) => Promise; waitForConfirm: (paymentId: string) => Promise; private delayPolling; private getPaymentStatus; register: (paymentId: string, txHash: string) => Promise; cancelCryptoPayment: (paymentId: string) => Promise; cancelLineIapPayment: (paymentId: string) => Promise; startPayment: (paymentId: string, userAgent: string, isLiff: boolean, lineChannelId?: string | null, lineAccessToken?: string | null, lineIapProductId?: string | null, lineIapPaymentPrice?: string | null, lineIapPaymentCurrency?: string | null, liffOs?: string | null) => Promise; getNonceForPaymentHistory: (walletAddress: string) => Promise; getSessionTokenForPaymentHistory: (walletAddress: string, signature: string) => Promise; signTransactionAsFeePayer: (paymentId: string, userSignedRawTransaction: string) => Promise; }