import { Viewport , ViewportConfiguration } from "./viewport" ; /**
 * Extend window element with custom options and viewport instance
 */ declare global { interface Window { __viewport__ : ViewportConfiguration ; viewport : Viewport ; } } ( ( window , config ) => { window . viewport = new Viewport ( config , window ) ; } ) ( window , window . __viewport__ ) ;