import { type PackageManager } from "@berkayorhan/stackkit-schemas"; export type PackageManagerName = PackageManager; export type PackageManagerAdapter = { name: PackageManagerName; lockfile: string; workspaceFile?: string; packageManagerField: string; installCommand: string[]; runCommand: (script: string) => string[]; addCommand: (packages: readonly string[]) => string[]; dlxCommand: (packageName: string, args: readonly string[]) => string[]; }; export type CommandResult = { exitCode: number; stdout: string; stderr: string; }; export type RunCommand = (command: string, args: readonly string[], options: { cwd?: string; }) => Promise; export type ResolvedSpawnCommand = { command: string; args: string[]; windowsVerbatimArguments?: boolean; }; export declare function getPackageManagerAdapter(name: PackageManagerName): PackageManagerAdapter; export declare function resolveSpawnCommand(command: string, args: readonly string[], options?: { platform?: NodeJS.Platform; comspec?: string; }): ResolvedSpawnCommand; //# sourceMappingURL=package-manager.d.ts.map