import type { Prompts as YeomanUiSteps, IPrompt } from '@sap-devx/yeoman-ui-types'; import { GeneratorTypes } from '../types.js'; /** * Returns the list of base wizard pages used in the Adaptation Project. * * @param {boolean} shouldShowTargetEnv - Whether to show the target environment page. * @returns {IPrompt[]} The list of static wizard steps to show initially. */ export declare function getWizardPages(shouldShowTargetEnv: boolean): IPrompt[]; /** * Updates the CF wizard steps. * * @param {boolean} isCFEnv - Whether the target environment is Cloud Foundry. * @param {YeomanUiSteps} prompts - The Yeoman UI Prompts container object. */ export declare function updateCfWizardSteps(isCFEnv: boolean, prompts: YeomanUiSteps): void; /** * Returns the FLP configuration page step. * * @param {boolean} showTileSettingsPage - Flag to determine if the tile settings page should be shown. * @param {string} projectName - The name of the project. * @returns {IPrompt} The FLP configuration wizard page. */ export declare function getFlpPages(showTileSettingsPage: boolean, projectName: string): IPrompt[]; /** * Updates the FLP wizard steps by adding or removing FLP-related pages based on the presence of a base app inbound. * * @param {boolean} hasBaseAppInbound - Indicates if the base app inbound exists. * @param {YeomanUiSteps} prompts - The Yeoman UI Prompts container object. * @param {string} projectName - The name of the project. * @param {boolean} shouldAdd - Whether to add (`true`) or remove (`false`) the steps. */ export declare function updateFlpWizardSteps(hasBaseAppInbound: boolean, prompts: YeomanUiSteps, projectName: string, shouldAdd: boolean): void; /** * Returns the deploy configuration page step. * * @returns {IPrompt} The deployment configuration wizard page. */ export declare function getDeployPage(): IPrompt; /** * Returns the key user import page step. * * @returns {IPrompt} The key user import wizard page. */ export declare function getKeyUserImportPage(): IPrompt; /** * Dynamically adds or removes a step in the Yeoman UI wizard. * * If `shouldAdd` is true and the step is not already in the list, it is inserted * after the step with name `insertAfter` (or at the end if not found). * If the step is already in the list and `shouldAdd` is false, it is removed. * * If the step exists and needs to be moved (based on desired insertion point), * it is repositioned accordingly. * * @param {YeomanUiSteps} prompts - The Yeoman UI Prompts container object. * @param {IPrompt} step - The step to add or remove. * @param {string} [insertAfter] - Optional name of the step after which to insert. * @param {boolean} [shouldAdd] - Whether to add (`true`) or remove (`false`) the step. */ export declare function updateWizardSteps(prompts: YeomanUiSteps, step: IPrompt, insertAfter?: string, shouldAdd?: boolean): void; /** * Returns the error page for the given sub generator type. * * @param {GeneratorTypes} subGenType - The type of sub generator. * @returns {IPrompt[]} The error page for the given sub generator type. */ export declare function getSubGenErrorPage(subGenType: GeneratorTypes): IPrompt[]; /** * Returns the wizard pages for sub-generators that may trigger an ABAP login step. * * Depending on the destination system's authentication requirements, a * credentials page can be shown before the business-specific page. * * @param {GeneratorTypes} type - The sub-generator type requesting pages. * @param {string} destination - ID of the destination system (used only for UI text). * @returns {IPrompt[]} The page definitions consumed by Yeoman-UI . */ export declare function getSubGenAuthPages(type: GeneratorTypes, destination: string): IPrompt[]; //# sourceMappingURL=steps.d.ts.map