import { type SupportedArchitectures, type AllowedDeprecatedVersions, type PackageExtension, type PeerDependencyRules, type ProjectManifest, type PnpmSettings } from '@pnpm/types'; export type OptionsFromRootManifest = { allowedDeprecatedVersions?: AllowedDeprecatedVersions; allowUnusedPatches?: boolean; ignorePatchFailures?: boolean; overrides?: Record; neverBuiltDependencies?: string[]; onlyBuiltDependencies?: string[]; onlyBuiltDependenciesFile?: string; ignoredBuiltDependencies?: string[]; packageExtensions?: Record; ignoredOptionalDependencies?: string[]; patchedDependencies?: Record; peerDependencyRules?: PeerDependencyRules; supportedArchitectures?: SupportedArchitectures; allowBuilds?: Record; requiredScripts?: string[]; } & Pick; export declare function getOptionsFromRootManifest(manifestDir: string, manifest: ProjectManifest): OptionsFromRootManifest; export declare function getOptionsFromPnpmSettings(manifestDir: string, pnpmSettings: PnpmSettings, manifest?: ProjectManifest): OptionsFromRootManifest;