{
  "id": "@typed/ui/index#Form.FormState",
  "canonicalId": "@typed/ui/Form#FormState",
  "symbol": {
    "id": "@typed/ui/index#Form.FormState",
    "packageName": "@typed/ui",
    "moduleName": "index",
    "exportName": "Form.FormState",
    "kind": "type",
    "signatures": [
      "export type FormState<Values extends object> = RefSubject.HydratedRefSubject<State<Values>, Schema.SchemaError> & {\n    readonly id: string;\n    readonly codec: Schema.Codec<Values, unknown>;\n    readonly fields: Readonly<Record<keyof Values & string, Schema.Codec<any, any>>>;\n};"
    ],
    "summary": "Hydrated RefSubject carrying form state plus runtime schema metadata.",
    "sections": {
      "Property: codec": "Runtime-only validation codec; it is deliberately absent from hydration state.",
      "Property: fields": "Runtime field codecs used for field-level validation.",
      "Property: id": "Runtime identity used to scope field/error relationships. Pass an id for deterministic SSR."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/ui/src/Form.ts",
      "line": 143
    },
    "since": "1.0.0",
    "category": "State models"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/ui/index#Form.FormState",
    "packageName": "@typed/ui",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": "index",
    "consumerSpecifier": "@typed/ui/index",
    "exportName": "Form",
    "qualifiedName": "Form.FormState",
    "declarationKey": "declaration:22d416d9936835a44baafde6",
    "family": "type-alias",
    "signatures": [
      "export type FormState<Values extends object> = RefSubject.HydratedRefSubject<State<Values>, Schema.SchemaError> & {\n    readonly id: string;\n    readonly codec: Schema.Codec<Values, unknown>;\n    readonly fields: Readonly<Record<keyof Values & string, Schema.Codec<any, any>>>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 143,
          "column": 1
        },
        "end": {
          "line": 159,
          "column": 3
        }
      },
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 154,
          "column": 3
        },
        "end": {
          "line": 154,
          "column": 49
        }
      },
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 158,
          "column": 3
        },
        "end": {
          "line": 158,
          "column": 84
        }
      },
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 150,
          "column": 3
        },
        "end": {
          "line": 150,
          "column": 23
        }
      }
    ],
    "aliases": [
      "@typed/ui#Form.FormState",
      "@typed/ui/Form#FormState"
    ],
    "isAlias": true,
    "parentId": "@typed/ui/index#Form",
    "static": false,
    "importedFrom": "declaration:22d416d9936835a44baafde6"
  },
  "declaration": {
    "declarationKey": "declaration:22d416d9936835a44baafde6",
    "name": "FormState",
    "family": "type-alias",
    "facets": [
      {
        "family": "type-alias",
        "syntaxKind": "TypeAliasDeclaration",
        "signatures": [
          "export type FormState<Values extends object> = RefSubject.HydratedRefSubject<State<Values>, Schema.SchemaError> & {\n    readonly id: string;\n    readonly codec: Schema.Codec<Values, unknown>;\n    readonly fields: Readonly<Record<keyof Values & string, Schema.Codec<any, any>>>;\n};"
        ],
        "typeParameters": [
          "Values extends object"
        ],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Form.ts",
            "start": {
              "line": 143,
              "column": 1
            },
            "end": {
              "line": 159,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly codec: Schema.Codec<Values, unknown>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Form.ts",
            "start": {
              "line": 154,
              "column": 3
            },
            "end": {
              "line": 154,
              "column": 49
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly fields: Readonly<Record<keyof Values & string, Schema.Codec<any, any>>>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Form.ts",
            "start": {
              "line": 158,
              "column": 3
            },
            "end": {
              "line": 158,
              "column": 84
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly id: string;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Form.ts",
            "start": {
              "line": 150,
              "column": 3
            },
            "end": {
              "line": 150,
              "column": 23
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export type FormState<Values extends object> = RefSubject.HydratedRefSubject<State<Values>, Schema.SchemaError> & {\n    readonly id: string;\n    readonly codec: Schema.Codec<Values, unknown>;\n    readonly fields: Readonly<Record<keyof Values & string, Schema.Codec<any, any>>>;\n};"
    ],
    "typeParameters": [
      "Values extends object"
    ],
    "summary": "Hydrated RefSubject carrying form state plus runtime schema metadata.",
    "sections": {
      "Property: codec": "Runtime-only validation codec; it is deliberately absent from hydration state.",
      "Property: fields": "Runtime field codecs used for field-level validation.",
      "Property: id": "Runtime identity used to scope field/error relationships. Pass an id for deterministic SSR."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 143,
          "column": 1
        },
        "end": {
          "line": 159,
          "column": 3
        }
      },
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 154,
          "column": 3
        },
        "end": {
          "line": 154,
          "column": 49
        }
      },
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 158,
          "column": 3
        },
        "end": {
          "line": 158,
          "column": 84
        }
      },
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 150,
          "column": 3
        },
        "end": {
          "line": 150,
          "column": 23
        }
      }
    ],
    "since": "1.0.0",
    "category": "State models"
  }
}
