import { AxiosResponse } from 'axios'; import { Config } from './config'; import Request from './request'; import type { Order } from './order'; import { CasdoorResponse } from './util'; export interface Payment { owner: string; name: string; createdTime: string; displayName: string; provider?: string; type?: string; productName: string; productDisplayName?: string; detail?: string; tag?: string; currency?: string; price?: number; returnUrl?: string; user?: string; personName?: string; personIdCard?: string; personEmail?: string; personPhone?: string; invoiceType?: string; invoiceTitle?: string; invoiceTaxId?: string; invoiceRemark?: string; invoiceUrl?: string; outOrderId?: string; payUrl?: string; state?: string; message?: string; products?: string[]; productsDisplayName?: string; order?: string; orderObj?: Order; successUrl?: string; } export declare class PaymentSDK { private config; private readonly request; constructor(config: Config, request: Request); getPayments(): Promise, any>>; getPayment(id: string): Promise, any>>; modifyPayment(method: string, payment: Payment, columns?: string[]): Promise, any>>; getPaginationPayments(p: number, pageSize: number, queryMap?: Record): Promise, any>>; getUserPayments(userName: string): Promise, any>>; notifyPayment(payment: Payment): Promise, any>>; invoicePayment(payment: Payment): Promise, any>>; addPayment(payment: Payment): Promise, any>>; updatePayment(payment: Payment): Promise, any>>; deletePayment(payment: Payment): Promise, any>>; }