import type { Logger } from '@sap-ux/logger'; import type { AdtCategory, AdtCollection } from '../../types/index.js'; import { Axios } from 'axios'; interface AdtServiceExtension { /** * Attaches an ADT schema to the service. * * @param serviceSchema - The ADT collection to attach. */ attachAdtSchema(serviceSchema: AdtCollection): void; } /** * AdtService provides abstraction of AdtService implementations. Each specific ADT service * should be implemented as subclass of AdtService. */ export declare abstract class AdtService extends Axios implements AdtServiceExtension { log: Logger; serviceSchema: AdtCollection; /** * Subclass that implements each specific ADT service * should provide AdtCatagory for the corresponding AdtService. * The AdtCatagory properties combined to identify a particular * ADT service schema in ADT schema. */ static getAdtCatagory(): AdtCategory; /** * Attach schema to AdtService subclass. * * @param serviceSchema ADT schema for this particular ADT service catalog. */ attachAdtSchema(serviceSchema: AdtCollection): void; /** * Parse an XML document for ATO (Adaptation Transport Organizer) settings. * * @param xml xml document containing ATO settings * @returns parsed ATO settings */ protected parseResponse(xml: string): T; } export {}; //# sourceMappingURL=adt-service.d.ts.map