import type { Editor } from 'mem-fs-editor'; import type { AbapCSN, AppGenInfo } from './types/index.js'; /** * Transforms the external abapCSN object (possible multiple services) to the internal abapCSN (single chosen service). * Uses the chosen service to obtain the service uri and name for the .appGenInfo.json. * * @param chosenService - the service selected during prompting * @param chosenService.serviceId - service id * @param chosenService.serviceUrl - service url * @param abapCSN - external abapCSN object passed to app gen * @returns - internal representation of abapCSN for .appGenInfo.json */ export declare function transformAbapCSNForAppGenInfo({ serviceId, serviceUrl }: { serviceId?: string; serviceUrl?: string; }, abapCSN: AbapCSN): { packageUri: string; csnName: string; serviceNameCsn?: string; serviceUri?: string; }[]; /** * Generates a README file and .appGenInfo.json at the specified destination path using the provided configuration and file system editor. * * @param {string} destPath - the desitination path where the info fileswill be created. * @param {AppGenInfo} appGenInfo - the configuration object containing the details to be included in the info files. * @param {Editor} fs - the file system editor instance used to write the info files. * @returns {Editor} the file system editor instance used to write the info files. */ export declare function generateAppGenInfo(destPath: string, appGenInfo: AppGenInfo, fs: Editor): Editor; //# sourceMappingURL=app-gen-info.d.ts.map