import { type BuildConfig, type Server } from "bun"; import { type BunDevServerConfig } from "./bunServeConfig"; import { type BuildEnvPaths } from "./buildManager"; /** * Start watching a directory for changes and trigger builds * @param srcWatch - The absolute path to watch for changes * @param importMeta - The ImportMeta object from the caller * @param finalConfig - The final server configuration * @param buildDestination - The absolute path to the output directory * @param buildCfg - The build configuration * @param bunServer - The Bun server instance */ export declare function startFileWatcher(srcWatch: string, importMeta: ImportMeta, finalConfig: BunDevServerConfig, paths: BuildEnvPaths, buildCfg: BuildConfig, bunServer: Server): Promise;