import { IApiResponseObject } from '../interfaces/responses/ApiResponse'; import { CheckoutConfig } from '../interfaces/CheckoutConfig'; import { IGetSubmerchantResponse } from '../interfaces/responses/GetSubMerchantResponse'; /** * Class for handling SubMerchant operations. * @class */ declare class SubMerchant { private config; /** * Constructor for the SubMerchant class. * @constructor * @param {SubMerchantConfig} config - The SubMerchant configuration. */ constructor(config: typeof CheckoutConfig); /** * Gets SubMerchant information. * @async * @function * @returns {Promise>} The SubMerchant information response. * @throws Will throw an error if the authentication token is missing. */ getSubmerchant: () => Promise>; } export default SubMerchant;