15 lines
528 B
TypeScript
15 lines
528 B
TypeScript
/**
|
|
* @author Kuitos
|
|
* @since 2019-02-26
|
|
*/
|
|
import type { ImportEntryOpts } from 'import-html-entry';
|
|
import type { AppMetadata, PrefetchStrategy } from './interfaces';
|
|
declare global {
|
|
interface NetworkInformation {
|
|
saveData: boolean;
|
|
effectiveType: string;
|
|
}
|
|
}
|
|
export declare function prefetchImmediately(apps: AppMetadata[], opts?: ImportEntryOpts): void;
|
|
export declare function doPrefetchStrategy(apps: AppMetadata[], prefetchStrategy: PrefetchStrategy, importEntryOpts?: ImportEntryOpts): void;
|