type AggregateItem = {
archetype: number,
count: number,
indexed?: number,
instanced?: number,
attributes: Record<string, AggregateValue>,
slices?: number[],
refs?: Record<string, any>,
flags?: Record<string, any>,
}
packages / core / src / types.ts