export declare function readInstalledPipeworkVersion(cwd: string): string | undefined; /** * True when `installed` is at least `required`. A version either side that is * not a plain `x.y.z` (a workspace link, a tag) is not something this can * judge, so it passes — the point is catching an install that did not run. */ export declare function isAtLeastVersion(installed: string, required: string): boolean; export declare function installMismatchMessage(required: string, installed: string | undefined, cwd: string): string; export interface PnpmInstallOptions { readonly cwd: string; /** The pipework version the generated package.json asks for, as plain `x.y.z`. */ readonly requiredPipeworkVersion: string; } export type PnpmInstallOutcome = { readonly ok: true; readonly installedPipeworkVersion: string; } | { readonly ok: false; readonly message: string; }; export declare function runPnpmInstall(options: PnpmInstallOptions): PnpmInstallOutcome; //# sourceMappingURL=pnpm-install.d.ts.map