{
  "id": "@typed/ui/index#Checkbox.makeState",
  "canonicalId": "@typed/ui/Checkbox#makeState",
  "symbol": {
    "id": "@typed/ui/index#Checkbox.makeState",
    "packageName": "@typed/ui",
    "moduleName": "index",
    "exportName": "Checkbox.makeState",
    "kind": "function",
    "signatures": [
      "export declare function makeState(initial?: InitialState): Effect.Effect<RefSubject.HydratedRefSubject<{\n    readonly checked: boolean | \"mixed\";\n}, Schema.SchemaError, never, never>, never, import(\"effect/Scope\").Scope>;"
    ],
    "summary": "Creates hydrated, renderer-independent checkbox state.",
    "sections": {},
    "examples": [
      {
        "language": "ts",
        "code": "import { Effect } from \"effect\"\nimport * as Checkbox from \"@typed/ui/Checkbox\"\n\nconst program = Effect.gen(function* () {\n  return yield* Checkbox.makeState({ checked: \"mixed\" })\n})"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/ui/src/Checkbox.ts",
      "line": 70
    },
    "since": "1.0.0",
    "category": "State construction"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/ui/index#Checkbox.makeState",
    "packageName": "@typed/ui",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "index",
    "consumerSpecifier": "@typed/ui/index",
    "exportName": "Checkbox",
    "qualifiedName": "Checkbox.makeState",
    "declarationKey": "declaration:8160419520d5f5c7558ca515",
    "family": "function",
    "signatures": [
      "export declare function makeState(initial?: InitialState): Effect.Effect<RefSubject.HydratedRefSubject<{\n    readonly checked: boolean | \"mixed\";\n}, Schema.SchemaError, never, never>, never, import(\"effect/Scope\").Scope>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Checkbox.ts",
        "start": {
          "line": 70,
          "column": 1
        },
        "end": {
          "line": 72,
          "column": 2
        }
      }
    ],
    "aliases": [
      "@typed/ui#Checkbox.makeState",
      "@typed/ui/Checkbox#makeState"
    ],
    "isAlias": true,
    "parentId": "@typed/ui/index#Checkbox",
    "static": false,
    "importedFrom": "declaration:8160419520d5f5c7558ca515"
  },
  "declaration": {
    "declarationKey": "declaration:8160419520d5f5c7558ca515",
    "name": "makeState",
    "family": "function",
    "facets": [
      {
        "family": "function",
        "syntaxKind": "FunctionDeclaration",
        "signatures": [
          "export declare function makeState(initial?: InitialState): Effect.Effect<RefSubject.HydratedRefSubject<{\n    readonly checked: boolean | \"mixed\";\n}, Schema.SchemaError, never, never>, never, import(\"effect/Scope\").Scope>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Checkbox.ts",
            "start": {
              "line": 70,
              "column": 1
            },
            "end": {
              "line": 72,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare function makeState(initial?: InitialState): Effect.Effect<RefSubject.HydratedRefSubject<{\n    readonly checked: boolean | \"mixed\";\n}, Schema.SchemaError, never, never>, never, import(\"effect/Scope\").Scope>;"
    ],
    "typeParameters": [],
    "summary": "Creates hydrated, renderer-independent checkbox state.",
    "sections": {},
    "examples": [
      {
        "language": "ts",
        "code": "import { Effect } from \"effect\"\nimport * as Checkbox from \"@typed/ui/Checkbox\"\n\nconst program = Effect.gen(function* () {\n  return yield* Checkbox.makeState({ checked: \"mixed\" })\n})"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Checkbox.ts",
        "start": {
          "line": 70,
          "column": 1
        },
        "end": {
          "line": 72,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "State construction"
  }
}
