export type PackageManager = "npm" | "pnpm" | "yarn" | "bun";
export type DetectionSource = "runtime" | "env" | "lockfile" | "config" | "default" | "system" | "global";
export interface PkgManagerInfo {
    packageManager: PackageManager;
    source: DetectionSource;
    version?: string;
}
export interface DetectOptions {
    cwd?: string;
    includeGlobalBun?: boolean;
}
export declare function getUserPkgManager(projectPath?: string, options?: DetectOptions): Promise<PkgManagerInfo>;
export declare function getAllPkgManagers(projectPath: string, options?: DetectOptions): Promise<PkgManagerInfo[]>;
