import { FetchOptions } from './fetch'; import { ImportRemoteCache, SourcemapCallback, BeforeSourceCallback } from './types'; interface RemoteImportOptions extends FetchOptions { cached?: ImportRemoteCache, global?: Record, scopeName?: string, host?: string, devtool?: boolean|string, beforeSource?: BeforeSourceCallback, publicPath?: string, sourcemapHost?: string|SourcemapCallback, } declare function importJs(url: string, options?: RemoteImportOptions): Promise; export { RemoteImportOptions }; export default importJs;