import { Plugin } from 'vite'; /** * Sets `Content-Security-Policy` on the Vite dev server from the local * `manifest.json` `permissions.network` allowlist rules. * * The policy is built once when the server starts and rebuilt only when * `manifest.json` changes (via Vite's file watcher), so the request path * stays I/O-free. In dev we also inject a small browser helper that listens * for CSP violations and prints a console.warn with a copy-pasteable * updated `manifest.json` for whatever was blocked. */ export declare function manifestCspPlugin(options?: { cwd?: string; }): Plugin;