/** pnpm 12+ exits with ERR_PNPM_IGNORED_BUILDS when dependency build scripts are skipped. */
export declare function getPnpmInstallEnv(): Record<string, string>;
/** CLI flags for pnpm lockfile updates when a custom registry is configured. */
export declare function getPnpmLockfileInstallConfigArgs(): string[];
export declare function getNpmExecOpts(pkg: {
    name: any;
    location: string;
}, registry?: any, npmClient?: string): {
    cwd: string;
    env: any;
    pkg: {
        name: any;
        location: string;
    };
};
