import { MagpieConfig, ApiResponse } from '../types'; export declare class MagpieClient { private paymentsApiPublic; private paymentsApiSecret; private checkoutApi; private requestsApi; private linksApi; private config; constructor(config: MagpieConfig); private createApiInstance; private handleApiError; private makeRequest; getMe(): Promise; createSource(data: any): Promise; getSource(sourceId: string): Promise; createCharge(data: any): Promise; getCharge(chargeId: string): Promise; listCharges(startAfter?: string): Promise; captureCharge(chargeId: string, data: any): Promise; voidCharge(chargeId: string): Promise; refundCharge(chargeId: string, data: any): Promise; verifyCharge(chargeId: string, data: any): Promise; createCustomer(data: any): Promise; getCustomer(cusId: string): Promise; updateCustomer(cusId: string, data: any): Promise; getCustomerByEmail(email: string): Promise; attachSource(cusId: string, data: any): Promise; detachSource(cusId: string, srcId: string): Promise; createCheckoutSession(data: any): Promise; getCheckoutSession(sessionId: string): Promise; listCheckoutSessions(): Promise; expireCheckoutSession(sessionId: string): Promise; captureCheckoutSession(sessionId: string): Promise; createPaymentRequest(data: any): Promise; getPaymentRequest(requestId: string): Promise; listPaymentRequests(params?: { page?: number; limit?: number; status?: string; }): Promise; voidPaymentRequest(requestId: string, data: any): Promise; resendPaymentRequest(requestId: string): Promise; createPaymentLink(data: any): Promise; getPaymentLink(linkId: string): Promise; listPaymentLinks(params?: { page?: number; limit?: number; status?: string; }): Promise; updatePaymentLink(linkId: string, data: any): Promise; activatePaymentLink(linkId: string): Promise; deactivatePaymentLink(linkId: string): Promise; }