import type { Editor } from 'mem-fs-editor'; import type { CustomPage, InternalCustomPage } from './types.js'; import type { Logger } from '@sap-ux/logger'; /** * Enhances the provided custom page configuration with default data. * * @param data - a custom page configuration object * @param manifestPath - path to the application manifest * @param fs - mem-fs reference to be used for file access * @returns enhanced configuration */ export declare function enhanceData(data: CustomPage, manifestPath: string, fs: Editor): InternalCustomPage; /** * Validate the UI5 version and if valid return the root folder for the templates to be used. * * @param ui5Version - optional minimum required UI5 version * @returns root folder containg the templates if the version is supported otherwise throws an error */ export declare function getTemplateRoot(ui5Version?: string): string; /** * Add a custom page to an existing UI5 application. * * @param {string} basePath - the base path * @param {CustomPage} data - the custom page configuration * @param {Editor} [fs] - the memfs editor instance * @param {Logger} [log] - Logger instance * @returns {Promise} the updated memfs editor instance */ export declare function generate(basePath: string, data: CustomPage, fs?: Editor, log?: Logger): Promise; //# sourceMappingURL=custom.d.ts.map