import type { Nitro } from "nitro/types"; import type { PreparedApplicationHost } from "#internal/nitro/host/types.js"; type DevelopmentWatcherNitroOptions = Pick & Partial>; interface DevelopmentWatcherNitro { hooks: { callHook: Nitro["hooks"]["callHook"]; }; options: DevelopmentWatcherNitroOptions; routing: { sync(): void; }; } /** * Handle for the authored-source development watcher. */ export interface AuthoredSourceWatcherHandle { close(): Promise; flush(): Promise; } /** * Starts the authored-source watcher used by `eve dev`. * * The watcher recompiles authored artifacts, refreshes runtime caches, and * triggers Nitro rebuild reloads only when structural runtime wiring changes. */ export declare function startAuthoredSourceWatcher(input: { nitro: DevelopmentWatcherNitro; preparedHost: PreparedApplicationHost; }): Promise; export {};