declare module 'next-pwa' { import { NextConfig } from 'next'; interface PWAConfig { dest?: string; disable?: boolean; register?: boolean; scope?: string; sw?: string; runtimeCaching?: any[]; buildExcludes?: string[]; publicExcludes?: string[]; fallbacks?: Record; cacheOnFrontEndNav?: boolean; reloadOnOnline?: boolean; [key: string]: any; } function withPWA(config?: PWAConfig): (nextConfig: NextConfig) => NextConfig; export = withPWA; }