export declare const assets: string[]; export { routes }; /** * Add PWA capabilities. * * **WARNING**: "prompt" mode not available yet. * * @param mode * @default "auto-update" */ export declare function setupPwa(mode?: "auto-update" | "prompt"): void; declare const routes: { pathname: string; pattern: RegExp; hasParams: boolean; }[]; export type AppSymbols = Map; export type AppBundle = [bundleName: string, importedBundleIds: number[]] | [ bundleName: string, importedBundleIds: number[], symbolHashesInBundle: string[] ]; export type LinkBundle = [routePattern: RegExp, bundleIds: number[]]; export interface QPrefetchData { links?: string[]; bundles?: string[]; symbols?: string[]; } export interface QPrefetchMessage extends QPrefetchData { type: "qprefetch"; base: string; } export type ServiceWorkerMessage = QPrefetchMessage; export interface ServiceWorkerMessageEvent { data: ServiceWorkerMessage; }