import { Lockfile } from '@pnpm/lockfile-file'; import { IncludedDependencies } from '@pnpm/modules-yaml'; import { WorkspacePackages } from '@pnpm/resolver-base'; import { StoreController } from '@pnpm/store-controller-types'; import { ReadPackageHook, Registries } from '@pnpm/types'; import { ReporterFunction } from '../types'; export interface StrictInstallOptions { forceSharedLockfile: boolean; frozenLockfile: boolean; frozenLockfileIfExists: boolean; enablePnp: boolean; extendNodePath: boolean; extraBinPaths: string[]; useLockfile: boolean; linkWorkspacePackagesDepth: number; lockfileOnly: boolean; fixLockfile: boolean; ignorePackageManifest: boolean; preferFrozenLockfile: boolean; saveWorkspaceProtocol: boolean; preferWorkspacePackages: boolean; preserveWorkspaceProtocol: boolean; scriptShell?: string; shellEmulator: boolean; storeController: StoreController; storeDir: string; reporter: ReporterFunction; force: boolean; update: boolean; updateMatching?: (pkgName: string) => boolean; updatePackageManifest?: boolean; depth: number; lockfileDir: string; modulesDir: string; rawConfig: object; verifyStoreIntegrity: boolean; engineStrict: boolean; nodeExecPath?: string; nodeVersion: string; packageManager: { name: string; version: string; }; pruneLockfileImporters: boolean; hooks: { readPackage?: ReadPackageHook; afterAllResolved?: (lockfile: Lockfile) => Lockfile; }; sideEffectsCacheRead: boolean; sideEffectsCacheWrite: boolean; strictPeerDependencies: boolean; include: IncludedDependencies; includeDirect: IncludedDependencies; ignoreCurrentPrefs: boolean; ignoreScripts: boolean; childConcurrency: number; userAgent: string; unsafePerm: boolean; registries: Registries; tag: string; ownLifecycleHooksStdio: 'inherit' | 'pipe'; workspacePackages: WorkspacePackages; pruneStore: boolean; virtualStoreDir?: string; dir: string; symlink: boolean; enableModulesDir: boolean; modulesCacheMaxAge: number; hoistPattern: string[] | undefined; forceHoistPattern: boolean; shamefullyHoist: boolean; forceShamefullyHoist: boolean; global: boolean; globalBin?: string; } export declare type InstallOptions = Partial & Pick; declare const _default: (opts: InstallOptions) => Promise; export default _default;