/** For showing details like verified, platforms, tags e.t.c */ export interface Detail { icon: string; name: string; value: string; } /** For showing metrics like counts, num of users e.t.c */ export interface Metric { name: string; value: number; } /** For showing parts of an entity e.g custom event definition */ export interface CompositionDefinition { name: string, parts: Array; } export interface CompositionDefinitionPart { label: string; hightlight?: boolean; } export interface TooltipData { header: string; subheader: string; description: string; details?: Array; metrics?: Array; compositionDef?: CompositionDefinition; }