import type { GeneratorEntry } from './types.js'; import type { AbapCDSView, BusinessObject, ValidationResponse } from '../../types/index.js'; import { AdtService } from '../services/index.js'; /** * */ export declare class UiServiceGenerator extends AdtService { protected referencedObject: BusinessObject | AbapCDSView; protected contentType: string; /** * Configure the UI service generator. * * @param _config - The generator configuration. * @param referencedObject - The referenced object (business object or abap cds view). * @param contentType - The header accept type for content. */ configure(_config: GeneratorEntry, referencedObject: BusinessObject | AbapCDSView, contentType: string): void; /** * Get the schema of the service binding. * * @returns The schema of the service binding. */ getSchema(): Promise; /** * Get the content of the service binding. * * @param pckg - The package name. * @returns The content of the service binding. */ getContent(pckg: string): Promise; /** * Validate the package before generation. * * @param pckg - The package to be validated. * @returns The response of the validation. */ validatePackage(pckg: string): Promise; /** * Validate the service content and package before generation. * * @param content - The content to be validated. * @returns The response of the validation. */ validateContent(content: string): Promise; /** * Generate the service binding. * * @param content - The content of the service binding. * @param transport - The transport. * @returns The object references. */ generate(content: string, transport: string): Promise; } //# sourceMappingURL=ui-service-generator.d.ts.map