import { UserConfig } from "../shared/types.cjs"; import { BuildResult } from "./build.cjs"; //#region src/tasks/watch.d.ts type WatchResult = { close: () => Promise; }; type WatchOptions = { baseDir?: string; debounceMs?: number; onBuild?: (result: BuildResult) => void; onError?: (error: Error) => void; onReady?: () => void; }; declare const runWatch: (userConfig: UserConfig, options?: WatchOptions) => Promise; //#endregion export { WatchOptions, WatchResult, runWatch };