import { Project } from 'projen'; import { BashStepConfig, GithubStepConfig, GitlabStepConfig, PipelineStep } from './step'; /** * Options for the PnpmSetupStep. */ export interface PnpmSetupStepOptions { /** * The version of pnpm to install. * If not provided, defaults to '9'. */ readonly version?: string; } /** * Step to setup pnpm using the pnpm/action-setup GitHub Action. * * This step is automatically injected when a project uses pnpm as its package manager. * It ensures pnpm is available in the GitHub Actions workflow environment before * running any install commands. */ export declare class PnpmSetupStep extends PipelineStep { private options; constructor(project: Project, options?: PnpmSetupStepOptions); toGithub(): GithubStepConfig; toGitlab(): GitlabStepConfig; toBash(): BashStepConfig; } /** * Step to enable corepack for Yarn Berry support. * * This step is automatically injected when a project uses Yarn Berry as its package manager. * It ensures corepack is enabled in the CI environment before running any yarn commands, * which is required for Yarn Berry (v2+) to work correctly. */ export declare class CorepackSetupStep extends PipelineStep { constructor(project: Project); toGithub(): GithubStepConfig; toGitlab(): GitlabStepConfig; toBash(): BashStepConfig; }