import { BaseOptions } from '../global'; import { IPaymentInstruction, PaymentInstructionParams } from './payment.interface'; /** * The class that contains methods to obtain information about payments. * */ export declare class Payment { private request; /** * Constructs a new instance of the class. * @param {BaseOptions} options - The options for the class. */ constructor(options: BaseOptions); /** * Fetching payment instructions from each channel. * * @param {PaymentInstructionParams} params - The parameters for retrieving payment instructions. * @throws {TripayError} Throws an error if the method parameter is provided but is not a valid payment method. * @returns {Promise} - A promise that resolves to an array of payment instructions. * @see [Payment Instructions - Tripay](https://tripay.co.id/developer?tab=payment-instruction) */ instructions(params: PaymentInstructionParams): Promise; }