import { NextConfig } from 'next'; export declare function exportSw(nextConfig: NextConfig): (...args: any[]) => Promise;