import { CEntity, EntityUI } from "../CVEntity"; import { Map, Tuid, BoxId, Field } from "../../entities"; import { VMapMain } from "./vMain"; export interface MapKey { content: (values: any, x?: any) => JSX.Element; valuesContent?: (values: any, x?: any) => JSX.Element; none?: (x: any) => string; } export interface MapUI extends EntityUI { CMap?: typeof CMap; keys?: MapKey[]; } export declare class MapItem { parent: MapItem; tuid: Tuid; box: BoxId; isLeaf: boolean; keyIndex: number; children: MapItem[]; values: any; constructor(parent: MapItem, tuid: Tuid, box: BoxId, keyIndex: number); } export declare class CMap extends CEntity { isFrom: boolean; items: MapItem[]; keyFields: Field[]; keyUIs: MapKey[]; protected internalStart(): Promise; private createItem; addItem(item: MapItem, row: any): MapItem; searchOnKey(keyField: Field, param: any): Promise; addClick: (item: MapItem) => Promise; removeClick: (item: MapItem) => Promise; protected readonly VMapMain: typeof VMapMain; }