import type { ODataVersion } from '../../base/odata-service'; import { ODataService } from '../../base/odata-service'; export declare const ServiceType: { readonly UI: "UI"; readonly NotClassified: "Not Classified"; readonly WebApi: "WEB_API"; readonly NotDetermined: "Not Determined"; }; export type ServiceType = (typeof ServiceType)[keyof typeof ServiceType]; export interface ODataServiceInfo { id: string; name: string; group?: string; path: string; odataVersion: ODataVersion; serviceVersion: string; serviceType?: ServiceType; } /** * Structure representing annotations (including their definitions) */ export interface Annotations { TechnicalName: string; Version: string; Definitions: string; Uri: string; } /** * Filter options to search for annotations */ export interface FilterOptions { id?: string; title?: string; path?: string; } /** * OData version independent abstract base class of SAP's catalog service */ export declare abstract class CatalogService extends ODataService { entitySet: string; services: ODataServiceInfo[]; isS4Cloud: Promise; /** * Fetch all services from the backend. * * @param useNextLink if true, the next link will be used to fetch the next page of results, pages are fetched serially. */ protected abstract fetchServices(useNextLink?: boolean): Promise; /** * Returns list of services from the catalog service. * * @param useNextLink if true, the next link tags will be used to fetch the next page of results, pages are fetched serially. * Note that this will be less performant for larger datasets. * @returns list of services */ listServices(useNextLink?: boolean): Promise; abstract getAnnotations({ id, title, path }: FilterOptions): Promise; abstract getServiceType(path: string): Promise; } //# sourceMappingURL=base.d.ts.map