/** * Tina4 PWA — Service worker registration and manifest generation. * * Optional module — tree-shaken away if not imported. */ export interface PWAConfig { name: string; shortName?: string; themeColor?: string; backgroundColor?: string; display?: 'standalone' | 'fullscreen' | 'minimal-ui' | 'browser'; icon?: string; cacheStrategy?: 'cache-first' | 'network-first' | 'stale-while-revalidate'; precache?: string[]; offlineRoute?: string; /** URL to a pre-built service worker file (e.g. "/sw.js"). When provided, blob: registration is skipped. */ swUrl?: string; } export declare const pwa: { register(config: PWAConfig): void; /** Generate SW code as a string (for build tools that write sw.js to disk). */ generateServiceWorker(config: PWAConfig): string; /** Generate manifest object (for build tools that write manifest.json to disk). */ generateManifest(config: PWAConfig): object; }; //# sourceMappingURL=pwa.d.ts.map