declare let LibAV ; import * as util from "./util" ; const libavVersion = "3.6b.4.4.1" ; let loadLibAVPromise = null ; export function loadLibAV ( ) { if ( loadLibAVPromise ) { return loadLibAVPromise ; } if ( typeof LibAV === "undefined" ) ( < any > window ) . LibAV = { } ; LibAV . base = "libav" ; loadLibAVPromise = util . loadLibrary ( "libav/libav-" + libavVersion + "-ennuicastr.js" ) ; return loadLibAVPromise ; }