interface GraspilEvent {
  event: string;
  category?: string;
  value_num?: number;
  unit?: string;
  key?: string;
}

interface GraspilInstance extends Array<GraspilEvent> {
  push: (event: GraspilEvent) => void;
}

interface Window {
  graspil: GraspilInstance;
}
