import{_ase,cast,oasa,Naso}from"./chunks/framework.0799945b.js";constb=JSON.parse('{"title":"Module: util/proxies","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/util/proxies.md","lastUpdated":null}'),r={name:"api/modules/util/proxies.md"},d=o('<h1id="module-util-proxies"tabindex="-1">Module:util/proxies<aclass="header-anchor"href="#module-util-proxies"aria-label="Permalink to "Module: util/proxies""></a></h1><h2id="type-aliases"tabindex="-1">TypeAliases<aclass="header-anchor"href="#type-aliases"aria-label="Permalinkto"TypeAliases""></a></h2><h3id="proxied"tabindex="-1">Proxied<aclass="header-anchor"href="#proxied"aria-label="Permalinkto"Proxied""></a></h3><p>Ƭ<strong>Proxied</strong><<code>T</code>>:<ahref="https://www.typescriptlang.org/docs/handbook/utility-types.html#nonnullabletype"target="_blank"rel="noreferrer"><code>NonNullable</code></a><<code>T</code>>extends<ahref="https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"target="_blank"rel="noreferrer"><code>Record</code></a><<code>PropertyKey</code>,<code>unknown</code>>?<ahref="https://www.typescriptlang.org/docs/handbook/utility-types.html#nonnullabletype"target="_blank"rel="noreferrer"><code>NonNullable</code></a><<code>T</code>>extends<ahref="./../game/persistence#persistent"><code>Persistent</code></a><inferS>?<ahref="./../game/persistence#nonpersistent-1"><code>NonPersistent</code></a><<code>S</code>>:<ahref="https://www.typescriptlang.org/docs/handbook/utility-types.html#nonnullabletype"target="_blank"rel="noreferrer"><code>NonNullable</code></a><<code>T</code>>extends<ahref="./../lib/break_eternity#default"><code>default</code></a>?<code>T</code>:{[KinkeyofT]:Proxied<T[K]>}&{<code>[ProxyState]</code>:<code>T</code>}:<code>T</code></p><h4id="type-parameters"tabindex="-1">Typeparameters<aclass="header-anchor"href="#type-parameters"aria-label="Permalinkto"Typeparameters""></a></h4><table><thead><tr><thstyle="text-align:left;">Name</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>T</code></td></tr></tbody></table><h4id="defined-in"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/c386ace/src/util/proxies.ts#L19"target="_blank"rel="noreferrer">profectus/src/util/proxies.ts:19</a></p><hr><h3id="proxiedwithstate"tabindex="-1">ProxiedWithState<aclass="header-anchor"href="#proxiedwithstate"aria-label="Permalinkto"ProxiedWithState""></a></h3><p>Ƭ<strong>ProxiedWithState</strong><<code>T</code>>:<ahref="https://www.typescriptlang.org/docs/handbook/utility-types.html#nonnullabletype"target="_blank"rel="noreferrer"><code>NonNullable</code></a><<code>T</code>>extends<ahref="https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"target="_blank"rel="noreferrer"><code>Record</code></a><<code>PropertyKey</code>,<code>unknown</code>>?<ahref="https://www.typescriptlang.org/docs/handbook/utility-types.html#nonnullabletype"target="_blank"rel="noreferrer"><code>NonNullable</code></a><<code>T</code>>extends<ahref="./../lib/break_eternity#default"><code>default</code></a>?<code>T</code>:{[KinkeyofT]:ProxiedWithState<T[K]>}&{<code>[ProxyPath]</code>:<code>string</code>[];<code>[ProxyState]</code>:<code>T</code>}:<code>T</code></p><h4id="type-parameters-1"tabindex="-1">Typeparameters<aclass="header-anchor"href="#type-parameters-1"aria-label="Permalinkto"Typeparameters""></a></h4><table><thead><tr><thstyle="text-align:left;">Name</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>T</code></td></tr></tbody></table><h4id="defined-in-1"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in-1"ar