import type CoreGenerator from '../../base-core/generator.ts'; import type { Entity as ServerEntity } from '../../server/types.ts'; import type { Application as BaseApplicationApplication, Entity as BaseApplicationEntity, Field as BaseApplicationField, PrimaryKey } from '../types.ts'; export declare const entityDefaultConfig: { pagination: "no"; anyPropertyHasValidation: undefined; dto: "no"; service: "no"; jpaMetamodelFiltering: boolean; readOnly: boolean; embedded: boolean; fluentMethods: boolean; readonly fields: never[]; readonly relationships: never[]; }; export default function prepareEntity(entityWithConfig: BaseApplicationEntity, generator: CoreGenerator): BaseApplicationEntity; export declare function derivedPrimaryKeyProperties(primaryKey: PrimaryKey): void; export declare function prepareEntityPrimaryKeyForTemplates(this: CoreGenerator | void, { entity: entityWithConfig, enableCompositeId, application, }: { entity: BaseApplicationEntity; enableCompositeId?: boolean; application?: any; }): BaseApplicationEntity; /** * Copy required application config into entity. * Some entity features are related to the backend instead of the current app. * This allows to entities files based on the backend features. */ export declare function loadRequiredConfigIntoEntity>(this: CoreGenerator | void, entity: E, config: BaseApplicationApplication): E; export declare function preparePostEntityCommonDerivedProperties(entity: BaseApplicationEntity): void; export declare function addFakerToEntity(entityWithConfig: BaseApplicationEntity, nativeLanguage?: string): Promise;