import { AttributeMaster } from 'src/module/meta/entity/attribute-master.entity'; import { EntityServiceImpl } from 'src/module/meta/service/entity-service-impl.service'; import { LoggingService } from 'src/utils/service/loggingUtil.service'; import { DataSource } from 'typeorm'; import { EntityJSONRepository } from './entityJson.repository'; import { FilterService } from '../../filter/service/filter.service'; export declare class EntityJSONService extends EntityServiceImpl { private readonly dataSource; private readonly loggerService; private readonly EntityJSONRepository; private readonly filterService; constructor(dataSource: DataSource, loggerService: LoggingService, EntityJSONRepository: EntityJSONRepository, filterService: FilterService); getAttributeForFlatJSON(entityType: string, loggedInUser: any, flag?: 'flat_json' | 'dropdown' | 'all'): Promise | { flat_json: Record; attributes: { mainAttributes: AttributeMaster[]; relatedAttributes: AttributeMaster[]; linkedAttributes: any[]; }; }>; updateEntityJSON(entityType: string, entityId: number, loggedInUser: any): Promise | null>; private mergeEntityDataIntoFlatJson; private applyLinkedFilterUsingSavedFilter; }