"use strict";
/* eslint-disable no-console */
/**
 * penguins-eggs
 * classes/families: archilinux.ts
 * author: Piero Proietti
 * email: piero.proietti@gmail.com
 * license: MIT
 */
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * Mockup
 * @remarks all the utilities
 */
class Mockup {
    /**
     * Mockup: isInstalledXorg
     * @returns true if xorg is installed
     */
    static isInstalledXorg() {
        return this.packageIsInstalled('xorg-server-common');
    }
    /**
     * Mockup: isInstalledWayland
     * @returns true if wayland is installed
     */
    static isInstalledWayland() {
        return this.packageIsInstalled('xwayland');
    }
    /**
     * Mockup: packages
     * Create array packages to install/remove
     */
    static packages(remove = false, verbose = false) {
        let packages = [''];
        return packages;
    }
    /**
     * Mockup: prerequisitesInstall
     */
    static async prerequisitesInstall(verbose = true) {
        let retVal = false;
        return retVal;
    }
    /**
     * Mockup: calamaresInstall
     */
    static async calamaresInstall(verbose = false) {
    }
    /**
     * Mockup: calamaresPolicies
     */
    static async calamaresPolicies() {
    }
    /**
     * Mockup: calamaresRemove
     */
    static async calamaresRemove(verbose = true) {
        let removed = false;
        return removed;
    }
    /**
     * Mockup: packageIsInstalled
     * restuisce VERO se il pacchetto è installato
     * @param packageName
     */
    static packageIsInstalled(packageName) {
        let installed = false;
        return installed;
    }
    /**
     * Mockup: packageInstall
     * Install the package packageName
     * @param packageName {string}
     * @returns {boolean} True if success
     */
    static async packageInstall(packageName) {
        let retVal = false;
        return retVal;
    }
    /**
     * Mockup: packagePacmanAvailable
     * restuisce VERO se il pacchetto è installato
     * @param packageName
     */
    static async packagePacmanAvailable(packageName) {
        let available = false;
        return available;
    }
    /**
     * Mockup: packagePacmanLast
     * @param packageName
     * @returns
     */
    static async packagePacmanLast(packageName) {
        let version = '';
        return version;
    }
}
exports.default = Mockup;
