import type { ComKey, PriKey } from '../key'; import type { Evented, ManagedEvents } from './Events'; import type { Aggregation, Reference } from './References'; export type Identified = { key: ComKey | PriKey; }; export interface Item extends Identified { events: ManagedEvents & Evented; aggs?: Record[]>; refs?: Record>; [key: string]: any; }