import { EntityFieldType } from '../entitiy_fields';
import { ENRICHED_ENTITY_JOININGS_MODEL_TYPE } from '../entityDataModel';

/** filters and structures descending (sub)entities
 * returns array of arrays of entity_id, entity_id_field_id, base_entity_id, base_entity_id_field_id
 * @returns
 */
export declare const getStructuredEntityJoinings: (baseEntityId: number, entity_fields: EntityFieldType[], entity_joinings: ENRICHED_ENTITY_JOININGS_MODEL_TYPE[]) => (ENRICHED_ENTITY_JOININGS_MODEL_TYPE & {
    path: ENRICHED_ENTITY_JOININGS_MODEL_TYPE[];
})[][];
