import { type StoreController } from '@pnpm/store-controller-types'; import { type ProjectManifest, type ProjectRootDir } from '@pnpm/types'; import { type RunLifecycleHookOptions } from './runLifecycleHook.js'; export type RunLifecycleHooksConcurrentlyOptions = Omit & { resolveSymlinksInInjectedDirs?: boolean; storeController: StoreController; extraNodePaths?: string[]; preferSymlinkedExecutables?: boolean; }; export interface Importer { buildIndex: number; manifest: ProjectManifest; rootDir: ProjectRootDir; modulesDir: string; stages?: string[]; targetDirs?: string[]; } export declare function runLifecycleHooksConcurrently(stages: string[], importers: Importer[], childConcurrency: number, opts: RunLifecycleHooksConcurrentlyOptions): Promise;