import { PayStatic } from "../base"; import { ConfigureOptions } from "paypal-rest-sdk"; import { AxiosRequestConfig } from "axios"; export declare class PayPalBase { client_id: string; client_secret: string; pay_return_url: string; pay_cancel_url: string; } declare type Response = {}; export declare class PayPalStatic extends PayStatic { static host: string; static sandboxHost: string; static request(opt: { data: any[]; host?: string; method?: string; resDataKey?: string; originalResult?: boolean; cfg: Partial; axiosOpt?: AxiosRequestConfig; }): Promise; static requestV2(opt: { data: any; host?: string; path?: string; resDataKey?: string; originalResult?: boolean; axiosOpt?: AxiosRequestConfig; }): Promise; static errorHandler(rs: Response): void; } export {};