/** * One element of a composite, paired with what it does with the invocation's trailing arguments. The bare * string form of an element is this spec with `shouldDeclineArguments` left at its default. */ export interface StepSpec { /** A command name, optionally preceded by nmr's own flags, as it would be typed after `nmr`. */ run: string; /** * Set where the trailing arguments cannot narrow this step's work: it is a prerequisite the narrowed steps * run against, or the tool it reaches would be misled by them. A declining step runs unnarrowed. */ shouldDeclineArguments?: boolean; } export type ScriptValue = string | ReadonlyArray; export type ScriptRegistry = Record; /** * Workspace scripts, identical for every package. * Four Vitest projects are recognized: `tool`, `localhost`, `remote`, and `unit`. The latter is also a catch-all. * Name a test file with the matching infix to associate it with a project. * Example: `nmr test:tool` runs every file carrying the `tool` infix, such as `my-file.tool.test.ts`. */ export declare const workspaceScripts: ScriptRegistry; export declare const rootScripts: ScriptRegistry;