import { AppRouterType } from '@sap-ux/adp-tooling'; import type { CFApp, Endpoint, SourceApplication } from '@sap-ux/adp-tooling'; import { AdaptationProjectType } from '@sap-ux/axios-extension'; import type { AdaptationDescriptor } from '@sap-ux/axios-extension'; interface Choice { name: string; value: SourceApplication; } /** * Creates a list of choices from a list of applications, formatted for display or selection in a UI. * Each choice consists of an application's title (or ID if no title), followed by its registration IDs and ACH, formatted for easy reading. * * @param {SourceApplication[]} apps - An array of applications to be transformed into display choices. * @returns {Choice[]} An array of objects each containing a value (the full application object) and a name (a formatted string). */ export declare const getApplicationChoices: (apps: SourceApplication[]) => Choice[]; /** * Get the choices for the base app. * * @param {CFApp[]} apps - The apps to get the choices for. * @returns {Array<{ name: string; value: CFApp }>} The choices for the base app. */ export declare const getCFAppChoices: (apps: CFApp[]) => { name: string; value: CFApp; }[]; /** * Get the choices for the approuter. * * @param {boolean} isInternalUsage - Whether the user is using internal features. * @returns {Array<{ name: AppRouterType; value: AppRouterType }>} The choices for the approuter. */ export declare const getAppRouterChoices: (isInternalUsage: boolean) => { name: AppRouterType; value: AppRouterType; }[]; /** * Creates the list of choices for the project type prompt. * * @returns {{ name: string; value: AdaptationProjectType }[]} The localized project type choices. */ export declare const getProjectTypeChoices: () => { name: string; value: AdaptationProjectType; }[]; /** * Returns the choices for the adaptation prompt. * * @param {AdaptationDescriptor[]} adaptations - The adaptations to get the choices for. * @returns {Array<{ name: string; value: AdaptationDescriptor }>} The choices for the adaptation prompt. */ export declare const getAdaptationChoices: (adaptations: AdaptationDescriptor[]) => Array<{ name: string; value: AdaptationDescriptor; }>; /** * Returns the choices for the system prompt. * * @param {string[]} systems - The systems to get the choices for. * @param {string} defaultSystem - The default system. * @returns {Array<{ name: string; value: string }>} The choices for the system prompt. */ export declare const getKeyUserSystemChoices: (systems: Endpoint[], defaultSystem: string) => Array<{ name: string; value: string; }>; export {}; //# sourceMappingURL=choices.d.ts.map