export type PkgManager = 'npm' | 'pnpm' | 'yarn' | 'bun'; /** Detect the package manager used in the project at `cwd`. Memoized for * the lifetime of the process. Falls back to 'npm' on any error or * unrecognized result. */ export declare function detectPreferredPm(cwd?: string): Promise; /** Render a `mikro ` invocation appropriate for the given pm. */ export declare function mikroCommand(pm: PkgManager, cmd: string): string; /** Render an "install latest version of " command appropriate for the pm. */ export declare function installLatestCommand(pm: PkgManager, pkg: string): string; /** Render an "install a specific version of " command appropriate for the pm. */ export declare function installVersionCommand(pm: PkgManager, pkg: string, version: string): string; //# sourceMappingURL=pkgManager.d.ts.map