import { PackageJson } from '@pnpm/types'; export default function postInstall(root: string, opts: { rawNpmConfig: Object; initialWD: string; userAgent: string; pkgId: string; unsafePerm: boolean; }): Promise; export declare function npmRunScript(stage: string, pkg: PackageJson, opts: { rawNpmConfig: Object; pkgId: string; modulesDir: string; root: string; stdio?: string; unsafePerm: boolean; }): Promise;