UNPKG

iportal

Version:

web-portal

10 lines (9 loc) 486 B
import { ModuleMount } from './mount'; import { ModuleManifest, Application } from '../types'; declare class ModulePrefetch extends ModuleMount { constructor(id: string, model: ModuleManifest, application: Application); prefetch(): Promise<unknown>; prefetchStatic(list?: string[], as?: string): Promise<unknown>; beforehandLink(url: string, rel?: 'prefetch' | 'prerender' | 'preload', as?: string): Promise<Event | string | void>; } export { ModulePrefetch };