vigiles API reference
    Preparing search index...

    Type Alias NeedSpec

    A needs entry — a built-in name, an inline provide/dangerously, a provider() ref, or a state() read of a fact some hook recorded.

    state() rides this union rather than getting its own accessor so that ALL of a hook's external inputs stay in one declared list: the dependency is auditable from outside the hook, and reading an undeclared one is a tsc error. See the design note in hook-state.ts.