import type { Ui5App, App, AppOptions } from '@sap-ux/ui5-application-writer'; import type { OdataService } from '@sap-ux/odata-service-writer'; import type { CapServiceCdsInfo } from '@sap-ux/cap-config-writer'; export declare const TemplateType: { readonly Basic: "basic"; readonly Worklist: "worklist"; readonly ListDetail: "listdetail"; }; export type TemplateType = (typeof TemplateType)[keyof typeof TemplateType]; interface Entity { name: string; key: string; idProperty: string; numberProperty?: string; unitOfMeasureProperty?: string; } export interface BasicAppSettings { viewName?: string; } export interface WorklistSettings { entity: Entity; } export interface ListDetailSettings { entity: Entity; lineItem: Entity; } export interface Template { type: TemplateType; settings: T; } export interface FioriApp extends App { flpAppId?: string; } export interface FreestyleApp extends Ui5App { template: Template; service?: OdataService & { capService?: CapServiceCdsInfo; }; app: FioriApp; appOptions?: Partial & { /** * Generate OPA based tests, for Simple template. * This will eventually move up to {@link Ui5App.appOptions} */ addTests?: boolean; /** * Indicates if updates to the root package.json of CAP projects should be disabled. If true, the root package.json will not be updated with the sapux array or the cds watch scripts. */ disableCapRootPkgJsonUpdates?: boolean; }; } export { OdataVersion } from '@sap-ux/odata-service-writer'; //# sourceMappingURL=types.d.ts.map