import { OdataVersion } from '@sap-ux/odata-service-writer'; import type { FioriElementsApp, Template } from '../types.js'; import { TemplateType } from '../types.js'; import { type TemplateOptions } from './templateAttributes.js'; /** * Sets defaults for relevant parameters (`flpAppId`, `startFile`, `localStartFile`, ) when virtual endpoints are used. * * @param feApp - Fiori elements application config */ export declare function setVirtualEndpointDefaults(feApp: FioriElementsApp): void; /** * Updates the template settings to defaults if not provided. * * @param template - The template to be updated * @param odataVersion - may be used to determine the default properties set * @returns Updated template settings */ export declare function setDefaultTemplateSettings(template: Template, odataVersion?: OdataVersion): T; /** * Gets the required UI5 libs for the specified template type and OData version. * * @param type - The template type of the required base component * @param version - The odata service version determines the appropriate base component to use * @param ui5Libs - ui5 libs * @returns The UI5 libs required by the specified template type and OData version and UI5 annotation libs */ export declare function getUi5Libs(type: TemplateType, version: OdataVersion, ui5Libs?: string | string[]): string[]; /** * Gets the required manifest libs for the specified template type and OData version. * * @param type - The template type of the required base component * @param version - The odata service version determines the appropriate base component to use * @param libs - manifest libs * @returns The manifest libs required by the specified template type and OData version and UI5 annotation libs */ export declare function getManifestLibs(type: TemplateType, version: OdataVersion, libs?: string | string[]): string[]; /** * Sets defaults for the specified Fiori elements application. * * @param feApp - Fiori elements application config * @returns Fiori elements app config with updated defaults for unspecified properties */ export declare function setAppDefaults(feApp: FioriElementsApp): FioriElementsApp; /** * Generates template options on project type and version information. * * @param {boolean} isEdmxProjectType Indicates if the project type is 'EDMXBackend'. * @param {string} serviceVersion The version of the service being used. * @param {string} [ui5Version] The version of UI5 framework being used. * @returns {TemplateOptions} An template objects containing options related to changes preview and loader. */ export declare function getTemplateOptions(isEdmxProjectType: boolean, serviceVersion: string, ui5Version?: string): TemplateOptions; //# sourceMappingURL=defaults.d.ts.map