import { fetchGitHubLatestRelease } from '@happier-dev/release-runtime';
import { downloadGitHubReleaseAsset } from './downloadGitHubReleaseAsset.js';
type EnsureManagedPnpmDeps = Readonly<{
    fetchGitHubLatestRelease?: typeof fetchGitHubLatestRelease;
    downloadGitHubReleaseAsset?: typeof downloadGitHubReleaseAsset;
}>;
export declare function managedPnpmInstallDir(processEnv?: NodeJS.ProcessEnv): string;
export declare function managedPnpmBinPath(processEnv?: NodeJS.ProcessEnv): string;
export declare function readRawPnpmOverride(processEnv?: NodeJS.ProcessEnv): string | null;
export declare function resolveExistingPnpmCommand(processEnv?: NodeJS.ProcessEnv): string | null;
export declare function ensureManagedPnpmCommand(processEnv?: NodeJS.ProcessEnv, deps?: EnsureManagedPnpmDeps): Promise<string | null>;
export declare function buildManagedPnpmEnvironment(processEnv?: NodeJS.ProcessEnv): NodeJS.ProcessEnv;
export {};
//# sourceMappingURL=managedPnpm.d.ts.map