import { type DependencyManifest, type ProjectManifest, type PrepareExecutionEnv } from '@pnpm/types'; export interface RunLifecycleHookOptions { args?: string[]; depPath: string; extraBinPaths?: string[]; extraEnv?: Record; initCwd?: string; optional?: boolean; pkgRoot: string; rawConfig: object; rootModulesDir: string; scriptShell?: string; silent?: boolean; scriptsPrependNodePath?: boolean | 'warn-only'; shellEmulator?: boolean; stdio?: string; unsafePerm: boolean; prepareExecutionEnv?: PrepareExecutionEnv; } export declare function runLifecycleHook(stage: string, manifest: ProjectManifest | DependencyManifest, opts: RunLifecycleHookOptions): Promise;