import{_ase,cast,oasa,Naso}from"./chunks/framework.0799945b.js";constf=JSON.parse('{"title":"Module: util/computed","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/util/computed.md","lastUpdated":null}'),r={name:"api/modules/util/computed.md"},d=o('<h1id="module-util-computed"tabindex="-1">Module:util/computed<aclass="header-anchor"href="#module-util-computed"aria-label="Permalink to "Module: util/computed""></a></h1><h2id="type-aliases"tabindex="-1">TypeAliases<aclass="header-anchor"href="#type-aliases"aria-label="Permalinkto"TypeAliases""></a></h2><h3id="computable"tabindex="-1">Computable<aclass="header-anchor"href="#computable"aria-label="Permalinkto"Computable""></a></h3><p>Ƭ<strong>Computable</strong><<code>T</code>>:<code>T</code>|<code>Ref</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/b666e0c/src/util/computed.ts#L8"target="_blank"rel="noreferrer">profectus/src/util/computed.ts:8</a></p><hr><h3id="computablekeysof"tabindex="-1">ComputableKeysOf<aclass="header-anchor"href="#computablekeysof"aria-label="Permalinkto"ComputableKeysOf""></a></h3><p>Ƭ<strong>ComputableKeysOf</strong><<code>T</code>>:<ahref="https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys"target="_blank"rel="noreferrer"><code>Pick</code></a><<code>T</code>,{[KinkeyofT]:T[K]extendsComputable<unknown>?K:never}[keyof<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"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/b666e0c/src/util/computed.ts#L22"target="_blank"rel="noreferrer">profectus/src/util/computed.ts:22</a></p><hr><h3id="getcomputabletype"tabindex="-1">GetComputableType<aclass="header-anchor"href="#getcomputabletype"aria-label="Permalinkto"GetComputableType""></a></h3><p>Ƭ<strong>GetComputableType</strong><<code>T</code>>:<code>T</code>extends{<code>[DoNotCache]</code>:<code>true</code>}?<code>T</code>:<code>T</code>extends()=>inferS?<code>Ref</code><<code>S</code>>:<code>undefined</code>extends<code>T</code>?<code>undefined</code>:<code>T</code></p><h4id="type-parameters-2"tabindex="-1">Typeparameters<aclass="header-anchor"href="#type-parameters-2"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-2"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in-2"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/b666e0c/src/util/computed.ts#L10"target="_blank"rel="noreferrer">profectus/src/util/computed.ts:10</a></p><hr><h3id="getcomputabletypewithdefault"tabindex="-1">GetComputableTypeWithDefault<aclass="header-anchor"href="#getcomputabletypewithdefault"aria-label="Permalinkto"GetComputableTypeWithDefau