import { Plugin } from 'vite'; import { VitePWAOptions } from 'vite-plugin-pwa'; interface KitOptions { /** * The base path for your application: by default will use the Vite base. * * @deprecated since ^0.1.0 version, the plugin has SvelteKit ^1.0.0 as peer dependency, Vite's base is now properly configured. * @default '/' * @see https://kit.svelte.dev/docs/configuration#paths * */ base?: string; /** * @default '.svelte-kit' * @see https://kit.svelte.dev/docs/configuration#outdir */ outDir?: string; /** * @see https://github.com/sveltejs/kit/tree/master/packages/adapter-static#fallback */ adapterFallback?: string; /** * @default 'never' * @see https://kit.svelte.dev/docs/configuration#trailingslash * */ trailingSlash?: 'never' | 'always' | 'ignore'; } interface SvelteKitPWAOptions extends Partial { kit?: KitOptions; } declare function SvelteKitPWA(userOptions?: Partial): Plugin[]; export { type KitOptions, SvelteKitPWA, type SvelteKitPWAOptions };