import { BigNumber } from 'ethers'; import { Service, TransactionRequest, UniqueSubject } from '../common'; import { GetP2PPaymentChannelsAdminDto } from '../dto'; import { P2PPaymentChannel, P2PPaymentChannelPayments, P2PPaymentChannels, P2PPaymentDeposit, P2PPaymentDeposits } from './classes'; export declare class P2PPaymentService extends Service { readonly p2pPaymentDepositAddress$: UniqueSubject; get p2pPaymentDepositAddress(): string; syncP2PPaymentDeposit(owner: string, token: string): Promise; syncP2PPaymentDeposits(owner: string, tokens: string[]): Promise; getP2PPaymentChannel(hash: string): Promise; getP2PPaymentChannels(senderOrRecipient: string, filters: { uncommittedOnly: boolean; }, page?: number): Promise; getP2PPaymentChannelsAdmin(dto: GetP2PPaymentChannelsAdminDto): Promise; getP2PPaymentChannelPayments(channel: string, page?: number): Promise; decreaseP2PPaymentDeposit(token: string, amount: BigNumber): Promise; updateP2PPaymentDeposit(token: string, totalAmount: BigNumber): Promise; increaseP2PPaymentChannelAmount(recipient: string, token: string, value: BigNumber, uidSalt?: string): Promise; updateP2PPaymentChannel(recipient: string, token: string, totalAmount: BigNumber, uidSalt?: string): Promise; signP2PPaymentChannel(hash: string): Promise; buildP2PPaymentDepositWithdrawalTransactionRequest(deposit: P2PPaymentDeposit): TransactionRequest; protected onInit(): void; }