/**
 * @mergeTarget
 * @module Src/Core
 */
/**
 * Abstract class representing a singleton.\
 * It aims to centralize instance tracking and enforce the singleton pattern for classes extending it.\
 * To execute his responsability this class does :
 *  * Stores one instance per subclass
 *  * Prevents a subclass from being instanciated more than once
 */
declare abstract class Singleton {
    /**
     * @static
     * Private attribute to store one instance per subclass
     * @source
     */
    private static _instances;
    /**
     * @static
     * Protected method to retrieve the current instance of a given subclass
     * @param {new () => T} constructor - Subclass constructor to retrieve instance for
     * @returns Returns the current instance of the subclass
     * @source
     */
    protected static getCurrent<T extends Singleton>(constructor: new () => T): T;
    /**
     * Constructor of class {@link Singleton | Singleton}
     * @throws If singleton already initialize.\
     * See {@link https://env-preprod-docs.lisio.fr/lisio-engine/enums/Src_Core.CoreErrorCodes.html#SINGLETON_NOT_UNIQUE | CoreErrorCodes.SINGLETON_NOT_UNIQUE}
     * @source
     */
    constructor();
}
export { Singleton };
