/** * Detect which package manager owns the current global Valora install. */ export type PackageManager = 'bun' | 'npm' | 'pnpm' | 'yarn'; /** * Inspects a normalised (forward-slash) path string and returns the package * manager whose store signature it contains, or null when nothing matches. * * Order is significant: pnpm must be checked before npm because pnpm uses * node_modules internally and would otherwise trigger the npm rule. */ export declare function detectFromPath(path: string): null | PackageManager; /** * Detects which package manager owns the current global Valora install. * * Uses `import.meta.url` as the primary signal (resolves to the actual module * file inside the package manager's global store) and falls back to * `process.execPath` when the module path does not match any known signature. * * Returns null when neither path matches a known package manager. */ export declare function detectPackageManager(): null | PackageManager; /** * Returns the install command (argv) for the given package manager. */ export declare function getInstallCommand(pm: PackageManager): string[]; //# sourceMappingURL=detect-package-manager.d.ts.map