import type { App, AppOptions, UI5 } from '../types.js'; import type { Package } from '@sap-ux/project-access'; /** * Returns a package instance with default properties. * * @param {string} [version] - the package version * @param {string} [description] - the package description * @param {boolean} [isEdmxProjectType] - whether the project type is Edmx or CAP * @returns {Partial} the package instance */ export declare function packageDefaults(version?: string, description?: string, isEdmxProjectType?: boolean): Partial; /** * Returns an app instance merged with default properties. * * @param {App} app - specifies the application properties * @returns {Partial} the App instance */ export declare function mergeApp(app: App): App; export declare const defaultUI5Libs: string[]; /** * Merges version properties with the provided UI5 instance. * Coerces provided UI5 versions to valid semantic versions. * * @param {UI5} [ui5] - the UI5 instance * @param options - application options * @returns {UI5} the updated copy of UI5 instance (does not change `ui5`) */ export declare function mergeUi5(ui5: Partial, options?: Partial): UI5; /** * Get the manifest descriptor version from the specified UI5 version. * Snapshots are handled by coercion to proper versions. If the version does not exist as an exact match * the nearest version lower will be used. * * @param ui5Version - the ui5 version to be used to map to the manifest descriptor version * @param manifestVersion - optional manifest descriptor version to be used if provided * @returns - the manifest descriptor version */ export declare function getManifestVersion(ui5Version: string, manifestVersion?: string): string; //# sourceMappingURL=defaults.d.ts.map