import { Readable } from 'node:stream'; export type ExecaOptions = { stdin?: 'inherit'; stdout?: 'pipe'; stderr?: 'pipe'; extendEnv?: boolean; env?: Record; }; export type ExecaChildProcessResult = { exitCode?: number | undefined; }; export type ExecaChildProcess = { stdout: Readable | null; stderr: Readable | null; } & Promise; export type Dependency = { name: string; version: string; }; export type PackageManagerController = { initializeProject: () => Promise; initializeTsConfig: (targetDir: string) => Promise; installDependencies: (packageNames: string[], type: 'dev' | 'prod') => Promise; runWithPackageManager: (args: string[] | undefined, dir: string, options?: ExecaOptions) => ExecaChildProcess; getCommand: (args: string[]) => string; allowsSignalPropagation: () => boolean; tryGetDependencies: () => Promise | undefined>; }; //# sourceMappingURL=package_manager_controller.d.ts.map