///
import { ChildProcess } from 'child_process';
import { BuildConfig } from 'lib/runtime/server';
import { Logger } from 'typescript-log';
import { WatchServer } from '../watch/server';
/**
* Rebuilds the client on changes
* @param args
* - server: Also watches and rebuilds server
* - client: Only run client without a server
*/
declare const watch: (log: Logger, buildConfig: BuildConfig, watchProcessEnv: NodeJS.ProcessEnv, ...args: import("../types").BuildTarget[]) => Promise;
export default watch;