"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.$refChildContainer = $refChildContainer;
exports.$refParentRootContainer = $refParentRootContainer;
exports.$refParentChildContainer = $refParentChildContainer;
const proxyWrap_1 = require("../proxyWrap");
const Async_1 = require("../types/interface/async/Async");
function $refChildContainer(component, { at, __ }) {
    const container = component.refChildContainer(at);
    const $container = (0, Async_1.Async)(container, __, component.__system.async);
    return (0, proxyWrap_1.proxyWrap)($container, __);
}
function $refParentRootContainer(component, { at, __ }) {
    const container = component.refParentRootContainer(at);
    const local_child = (0, Async_1.Async)(container, __, component.__system.async);
    return (0, proxyWrap_1.proxyWrap)(local_child, __);
}
function $refParentChildContainer(component, { at, __ }) {
    const container = component.refParentChildContainer(at);
    const local_child = (0, Async_1.Async)(container, __, component.__system.async);
    return (0, proxyWrap_1.proxyWrap)(local_child, __);
}
//# sourceMappingURL=$wrapper.js.map