import { OrderCreateResponse } from "./orders/OrderCreateResponse.js"; import { Order } from "./orders/Order.js"; import { OrderStatusResponse } from "./orders/OrderStatusResponse.js"; export interface PayUOptions { clientId: number; clientSecret: string; merchantPosId: number; secondKey: string; sandbox?: boolean; } export declare class PayU { private readonly options; private readonly clientId; private readonly clientSecret; private readonly merchantPosId; private readonly secondKey; private readonly baseEndpoint; private readonly client; private oAuth; private ips; constructor(options: PayUOptions); getAccessToken(): Promise; getPaymentMethods(): Promise; createOrder(order: Order): Promise; captureOrder(orderId: string): Promise; cancelOrder(orderId: string): Promise; refundOrder(orderId: string, description: string): Promise; private parseHeaderToJson; verifyNotification(payuHeader: string, jsonNotification: string): boolean; isIpValid(ip: string): boolean; }