"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.$makeUnitRemoteRef = exports.makeUnitRemoteRef = void 0;
const makeRemoteUnitAPI_1 = require("./makeRemoteUnitAPI");
const _makeRemoteUnitAPI_1 = require("./remote/$makeRemoteUnitAPI");
const RemoteRef_1 = require("./RemoteRef");
function makeUnitRemoteRef(unit, _, post) {
    const API = (0, makeRemoteUnitAPI_1.makeRemoteUnitAPI)(unit, _);
    const remoteRef = new RemoteRef_1.RemoteRef(API, post);
    return remoteRef;
}
exports.makeUnitRemoteRef = makeUnitRemoteRef;
function $makeUnitRemoteRef(unit, _, post) {
    const API = (0, _makeRemoteUnitAPI_1.$makeRemoteUnitAPI)(unit, _);
    const remoteRef = new RemoteRef_1.RemoteRef(API, post);
    return remoteRef;
}
exports.$makeUnitRemoteRef = $makeUnitRemoteRef;
//# sourceMappingURL=makeUnitRemoteRef.js.map