import { Logger } from '@nu-art/ts-common';
import { Commando_PNPM } from '../plugins/pnpm';
export declare class Cli_PNPM extends Logger {
    private _expectedVersion;
    private _homeEnvVar;
    constructor();
    get homeEnvVar(): string;
    set homeEnvVar(value: string);
    get expectedVersion(): string;
    set expectedVersion(value: string);
    install: (commando: Commando_PNPM) => Promise<this | undefined>;
    isInstalled: () => boolean;
    installPackages: (commando: Commando_PNPM) => Promise<Commando_PNPM>;
    uninstall: () => Promise<void>;
    /**
     * Asynchronously creates a workspace file with a list of packages.
     * Each package is listed under the 'packages:' section in the file.
     *
     * @param listOfLibs An array of library names to include in the workspace.
     * @param pathToWorkspaceFile The filesystem path where the workspace file will be written.
     * @example
     * await createWorkspace(['pack1', 'pack2'], './path/to/workspace.yaml');
     */
    createWorkspace: (listOfLibs: string[], pathToWorkspaceFile?: string) => Promise<void>;
}
export declare const PNPM: Cli_PNPM;
