import type { DevConfig, ServerConfig } from '../types';
import type { CompileMiddlewareAPI } from './getDevMiddlewares';
type WatchFilesOptions = {
    dev: DevConfig;
    server: ServerConfig;
    compileMiddlewareAPI?: CompileMiddlewareAPI;
};
export declare function setupWatchFiles(options: WatchFilesOptions): Promise<{
    close(): Promise<void>;
} | undefined>;
export {};
