{
  "id": "@typed/ui/Collection#State",
  "canonicalId": "@typed/ui/Collection#State",
  "symbol": {
    "id": "@typed/ui/Collection#State",
    "packageName": "@typed/ui",
    "moduleName": "Collection",
    "exportName": "State",
    "kind": "type",
    "signatures": [
      "export type State<Value = unknown, Element extends object = globalThis.Element> = readonly Item<Value, Element>[];"
    ],
    "summary": "Complete renderer-independent state for Collection.",
    "sections": {
      "Why": "Applications can inspect, update, and test Collection behavior without mounting or coupling the\nstate to a renderer.",
      "Ownership and lifetime": "This declaration is data or schema metadata and acquires no resources.",
      "Example": "Import with `import type { State } from \"@typed/ui/Collection\";` Extend the [Collection.makeState\nrunnable setup](/reference/%40typed%2Fui%2FCollection%23makeState). Collection state is an\nimmutable sequence: `const snapshot: State<string> = [{ id: \"save\", value: \"save\" }]`."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/ui/src/Collection.ts",
      "line": 103
    },
    "since": "1.0.0",
    "category": "Collection state"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/ui/Collection#State",
    "packageName": "@typed/ui",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "Collection",
    "consumerSpecifier": "@typed/ui/Collection",
    "exportName": "State",
    "qualifiedName": "State",
    "declarationKey": "declaration:9dc3250e3f60c89f0ad6264b",
    "family": "type-alias",
    "signatures": [
      "export type State<Value = unknown, Element extends object = globalThis.Element> = readonly Item<Value, Element>[];"
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Collection.ts",
        "start": {
          "line": 103,
          "column": 1
        },
        "end": {
          "line": 106,
          "column": 5
        }
      }
    ],
    "aliases": [
      "@typed/ui#Collection.State",
      "@typed/ui/index#Collection.State"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:9dc3250e3f60c89f0ad6264b",
    "name": "State",
    "family": "type-alias",
    "facets": [
      {
        "family": "type-alias",
        "syntaxKind": "TypeAliasDeclaration",
        "signatures": [
          "export type State<Value = unknown, Element extends object = globalThis.Element> = readonly Item<Value, Element>[];"
        ],
        "typeParameters": [
          "Value = unknown",
          "Element extends object = globalThis.Element"
        ],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Collection.ts",
            "start": {
              "line": 103,
              "column": 1
            },
            "end": {
              "line": 106,
              "column": 5
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export type State<Value = unknown, Element extends object = globalThis.Element> = readonly Item<Value, Element>[];"
    ],
    "typeParameters": [
      "Value = unknown",
      "Element extends object = globalThis.Element"
    ],
    "summary": "Complete renderer-independent state for Collection.",
    "sections": {
      "Why": "Applications can inspect, update, and test Collection behavior without mounting or coupling the\nstate to a renderer.",
      "Ownership and lifetime": "This declaration is data or schema metadata and acquires no resources.",
      "Example": "Import with `import type { State } from \"@typed/ui/Collection\";` Extend the [Collection.makeState\nrunnable setup](/reference/%40typed%2Fui%2FCollection%23makeState). Collection state is an\nimmutable sequence: `const snapshot: State<string> = [{ id: \"save\", value: \"save\" }]`."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Collection.ts",
        "start": {
          "line": 103,
          "column": 1
        },
        "end": {
          "line": 106,
          "column": 5
        }
      }
    ],
    "since": "1.0.0",
    "category": "Collection state"
  }
}
