import { type Lockfile } from '@pnpm/lockfile-types'; import { type SupportedArchitectures, type DependenciesField, type ProjectId } from '@pnpm/types'; export interface FilterLockfileResult { lockfile: Lockfile; selectedImporterIds: ProjectId[]; } export declare function filterLockfileByEngine(lockfile: Lockfile, opts: FilterLockfileOptions): FilterLockfileResult; export interface FilterLockfileOptions { currentEngine: { nodeVersion?: string; pnpmVersion: string; }; engineStrict: boolean; include: { [dependenciesField in DependenciesField]: boolean; }; includeIncompatiblePackages?: boolean; failOnMissingDependencies: boolean; lockfileDir: string; skipped: Set; supportedArchitectures?: SupportedArchitectures; } export declare function filterLockfileByImportersAndEngine(lockfile: Lockfile, importerIds: ProjectId[], opts: FilterLockfileOptions): FilterLockfileResult;