import type { Launcher } from "./launcher.js"; import type { Variables } from "./variables.js"; /** * The npm packages a pipeline's stages call. They install once per run as * global packages of the pipeline folder's own npm prefix, which every stage * gets as `npm_config_prefix`: `npx explorbot` runs the installed copy, and * the binaries are first on PATH as well. */ export declare class Packages { private readonly versions; /** `versions` as the run computed them: a formula's value, not its source. */ constructor(versions: Record); /** `name@version` for each. Empty means latest, and a leading `@` is dropped. */ specs(): string[]; /** Installs into `dir`, then returns the variables that point npm and PATH at it. */ install(dir: string, launcher: Launcher, vars: Variables): Promise; }