import { type ProcessOutputHandler } from "./process-output.js";
/** Output routing options for setup-owned pnpm commands. */
export interface RunPnpmOptions {
    /** Streams command output to a parent-owned renderer instead of writing outside it. */
    onOutput?: ProcessOutputHandler;
}
/**
 * Runs `pnpm <args>` in `projectRoot`, resolving to whether it exited cleanly.
 * Standalone agents run with `--ignore-workspace` unless they carry their own
 * `pnpm-workspace.yaml`, which may set policy such as allowBuilds.
 */
export declare function spawnPnpm(projectRoot: string, args: string[], options?: RunPnpmOptions): Promise<boolean>;
/**
 * Installs project dependencies and permits the lockfile update required
 * after an interactive scaffold step changes `package.json`.
 */
export declare function runPnpmInstall(projectRoot: string, options?: RunPnpmOptions): Promise<boolean>;
