import { CommandScanner } from '../command-scan'; /** One whole-repo build found in a command: the segment, and the SHAPE that made it one. Data-only. */ export declare class WholeRepoBuildHit { segment: string; shape: string; constructor(segment: string, shape: string); } export declare class WholeRepoBuildScan { private readonly scanner; private readonly atWorkspaceRoot; constructor(scanner: CommandScanner, atWorkspaceRoot: boolean); /** The first segment of `command` that builds the whole repo, or null when none does. */ firstHit(command: string): WholeRepoBuildHit | null; private shapeOf; private isNarrowed; private nxShape; private vitestShape; /** * Does this nx invocation run a COMPILE/TEST target? Targets come from `-t`/`--target`/`--targets` * in either spelling, comma-separated, plus (for `run-many `) a second positional. * * An invocation naming NO target is not judged a build: nx errors on it, and guessing would block a * typo with a message about build scope. An invocation naming only regeneration targets * (`di-graph-generate`, `generate`) is deliberately allowed workspace-wide — see BUILD_TARGETS. */ private buildsAnything; private hasFlag; }