import type { AllowBuild } from '@pnpm/types'; export interface PreparePackageOptions { allowBuild?: AllowBuild; ignoreScripts?: boolean; pkgResolutionId: string; unsafePerm?: boolean; userAgent?: string; } export declare function preparePackage(opts: PreparePackageOptions, gitRootDir: string, subDir: string): Promise<{ shouldBeBuilt: boolean; pkgDir: string; }>;