import Unit from "./Unit.js";
import UnitModifier from "./UnitModifier.js";
/**
 * ! If you are ever in need of using this class, please PLEASE refactor it.
 * ! Just do it. I did not have the time to do it myself and did not want to break compatibility with the old Margot APIs.
 */
export default class UnitWithModifier extends Unit {
    private _unitModifier;
    private _baseUnit;
    private _modifier;
    constructor(unitModifier: UnitModifier, baseUnit: string, modifier?: string);
    getName(): string;
    /**
     * @param unit - Unit of the value.
     */
    convert(value: number, unit: string, unitHasBaseName?: boolean): number;
    private _extractModifier;
}
//# sourceMappingURL=UnitWithModifier.d.ts.map