import { waapiPlugin } from './index' ; declare const window ; if ( typeof window !== 'undefined' && typeof ( window as any ) . just !== 'undefined' ) { window . just . addPlugin ( waapiPlugin ) ; } else { require ( 'just-animate' ) . addPlugin ( waapiPlugin ) ; }