import { ChangedFile } from '../../daemon/client/client'; export interface WatchArguments { projects?: string[]; all?: boolean; includeDependencies?: boolean; /** * @deprecated Renamed to {@link WatchArguments.includeDependencies}; will be * removed in Nx 24. The original name was misleading: this flag includes * the watched project's dependencies, not its dependents. The new property * is functionally identical — only the name changed. */ includeDependentProjects?: boolean; includeGlobalWorkspaceFiles?: boolean; verbose?: boolean; command?: string; initialRun?: boolean; projectNameEnvName?: string; fileChangesEnvName?: string; } export declare class BatchFunctionRunner { private callback; private running; private pendingProjects; private pendingFiles; protected get _verbose(): boolean; private get hasPending(); constructor(callback: (projects: Set, files: Set) => Promise); enqueue(projectNames: string[], fileChanges: ChangedFile[]): Promise; private process; } export declare function watch(args: WatchArguments): Promise;