/**
 * Watch for config file changes and recreate sandbox
 *
 * Watches both playcademy.config.* and vite.config.* files.
 * When either changes, the sandbox database is recreated automatically.
 */
import type { ResolvedConfig, ViteDevServer } from 'vite';
import type { PlatformModeOptions } from '../types';
/**
 * Setup file watcher for config file changes
 *
 * Watches playcademy.config.* and vite.config.* files.
 * When either changes, the sandbox database is automatically recreated.
 */
export declare function setupConfigWatcher(server: ViteDevServer, viteConfig: ResolvedConfig, platformModeOptions: PlatformModeOptions): void;
