import { EventProcessor } from './eventprocessor' ; import { Hub } from './hub' ; /** Integration Class Interface */ export interface IntegrationClass < T > { /**
     * Property that holds the integration name
     */ id : string ; new ( ... args ) : T ; } /** Integration interface */ export interface Integration { /**
     * Returns  IntegrationClass . id name : string ; /**
     * Sets the integration up only once.
     * This takes no options on purpose, options should be passed in the constructor
     */ setupOnce ( addGlobalEventProcessor , getCurrentHub ) : void ; }