/// import https from "https"; import { AnyPay } from ".."; import { IAnyPayOptions } from "../types/AnyPay"; import { IServerOptions } from "../types/createServer"; import IRatesResponse from "../types/methods/rates"; import ICreatePaymentLinkParams from "../types/methods/createPaymentLink"; import INotifyIPResponse from "../types/methods/notifyIP"; import { IPaymentsParams, IPaymentsResponse } from "./../types/methods/payments"; import { ICommissionsParams, ICommissionsResponse } from "../types/methods/commissions"; import { ICreatePayoutParams, ICreatePayoutResponse } from "./../types/methods/createPayout"; declare class API { apiUrl: string; merchantUrl: string; agent: https.Agent; options: IAnyPayOptions; constructor(anypay: AnyPay); getBalance(): Promise; getRates(): Promise; getCommissions(params?: ICommissionsParams): Promise; getPayments(params?: IPaymentsParams): Promise; getServiceIP(): Promise; createSession(params: IServerOptions): Promise; createPaymentLink(params: ICreatePaymentLinkParams): string; createPayout(params: ICreatePayoutParams): Promise; call({ method, params, headers, }: { method?: string; params?: Record; headers?: Record; }): Promise; } export { API };