import type { CFServicesQuestion, CfServicesPromptOptions, CfConfig } from '@sap-ux/adp-tooling'; import type { ToolsLogger } from '@sap-ux/logger'; import type { Manifest } from '@sap-ux/project-access'; /** * Prompter for CF services. */ export declare class CFServicesPrompter { private readonly isInternalUsage; private readonly logger; /** * Whether the user is logged in to Cloud Foundry. */ private isCfLoggedIn; /** * Whether to show the solution name prompt. */ private showSolutionNamePrompt; /** * The type of approuter to use. */ private approuter; /** * The business services available. */ private businessServices; /** * The info of the business service. */ private businessServiceInfo; /** * The base apps available. */ private apps; /** * The service instance GUID. */ private html5RepoServiceInstanceGuid; /** * The manifest. */ private appManifest; /** * The zip entries from the downloaded app content. */ private appContentEntries; /** * Returns the loaded application manifest. * * @returns Application manifest. */ get manifest(): Manifest | undefined; /** * Returns the HTML5 repo service instance GUID. * * @returns {string} HTML5 repo service instance GUID. */ get html5RepoRuntimeGuid(): string; /** * Returns the business service instance GUID. * * @returns {string | undefined} Business service instance GUID. */ get serviceInstanceGuid(): string | undefined; /** * Returns all backend URLs from service keys endpoints. * * @returns {string[]} Array of backend URLs from all endpoints. */ get backendUrls(): string[]; /** * Returns the OAuth paths extracted from xs-app.json routes that have a source property. * * @returns {string[]} Array of path patterns that should receive OAuth Bearer tokens. */ get oauthPaths(): string[]; /** * Constructor for CFServicesPrompter. * * @param {boolean} [isInternalUsage] - Internal usage flag. * @param {boolean} isCfLoggedIn - Whether the user is logged in to Cloud Foundry. * @param {ToolsLogger} logger - Logger instance. */ constructor(isInternalUsage: boolean | undefined, isCfLoggedIn: boolean, logger: ToolsLogger); /** * Builds the CF services prompts, keyed and hide-filtered like attributes.ts. * * @param {string} mtaProjectPath - MTA project path * @param {CfConfig} cfConfig - CF config service instance. * @param {CfServicesPromptOptions} [promptOptions] - Optional per-prompt visibility controls * @returns {Promise} CF services questions */ getPrompts(mtaProjectPath: string, cfConfig: CfConfig, promptOptions?: CfServicesPromptOptions): Promise; /** * Prompt for business solution name. * * @returns {CFServicesQuestion} Prompt for business solution name. */ private getBusinessSolutionNamePrompt; /** * Prompt for approuter. * * @param {string} mtaProjectPath - MTA project path. * @param {CfConfig} cfConfig - CF config service instance. * @returns {CFServicesQuestion} Prompt for approuter. */ private getAppRouterPrompt; /** * Prompt for base application. * * @param {CfConfig} cfConfig - CF config service instance. * @returns {CFServicesQuestion} Prompt for base application. */ private getBaseAppPrompt; /** * Prompt for business services. * * @param {CfConfig} cfConfig - CF config service instance. * @returns {CFServicesQuestion} Prompt for business services. */ private getBusinessServicesPrompt; } //# sourceMappingURL=cf-services.d.ts.map