{
  "id": "@typed/ui/index#Toolbar.makeState",
  "canonicalId": "@typed/ui/Toolbar#makeState",
  "symbol": {
    "id": "@typed/ui/index#Toolbar.makeState",
    "packageName": "@typed/ui",
    "moduleName": "index",
    "exportName": "Toolbar.makeState",
    "kind": "function",
    "signatures": [
      "export declare function makeState(initial?: InitialState): Effect.Effect<RefSubject.HydratedRefSubject<{\n    readonly activeId: string | null;\n    readonly orientation: \"horizontal\" | \"vertical\" | \"both\";\n    readonly loop: boolean;\n    readonly rtl: boolean;\n    readonly virtualFocus: boolean;\n}, Schema.SchemaError, never, never>, never, Scope.Scope>;"
    ],
    "summary": "Creates hydrated Toolbar state. Uses Composite defaults unless overridden.",
    "sections": {},
    "examples": [
      {
        "language": "ts",
        "code": "import * as Effect from \"effect/Effect\";\nimport * as Toolbar from \"@typed/ui/Toolbar\";\n\nconst program = Effect.scoped(\n  Effect.gen(function* () {\n    const state = yield* Toolbar.makeState({});\n    const collection = yield* Toolbar.makeCollection();\n    return { state: yield* state, collection: yield* collection };\n  }),\n);"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/ui/src/Toolbar.ts",
      "line": 88
    },
    "since": "1.0.0",
    "category": "Command focus"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/ui/index#Toolbar.makeState",
    "packageName": "@typed/ui",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "index",
    "consumerSpecifier": "@typed/ui/index",
    "exportName": "Toolbar",
    "qualifiedName": "Toolbar.makeState",
    "declarationKey": "declaration:0be25b1e7b6aa971e5f8ef15",
    "family": "function",
    "signatures": [
      "export declare function makeState(initial?: InitialState): Effect.Effect<RefSubject.HydratedRefSubject<{\n    readonly activeId: string | null;\n    readonly orientation: \"horizontal\" | \"vertical\" | \"both\";\n    readonly loop: boolean;\n    readonly rtl: boolean;\n    readonly virtualFocus: boolean;\n}, Schema.SchemaError, never, never>, never, Scope.Scope>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Toolbar.ts",
        "start": {
          "line": 88,
          "column": 1
        },
        "end": {
          "line": 90,
          "column": 2
        }
      }
    ],
    "aliases": [
      "@typed/ui#Toolbar.makeState",
      "@typed/ui/Toolbar#makeState"
    ],
    "isAlias": true,
    "parentId": "@typed/ui/index#Toolbar",
    "static": false,
    "importedFrom": "declaration:0be25b1e7b6aa971e5f8ef15"
  },
  "declaration": {
    "declarationKey": "declaration:0be25b1e7b6aa971e5f8ef15",
    "name": "makeState",
    "family": "function",
    "facets": [
      {
        "family": "function",
        "syntaxKind": "FunctionDeclaration",
        "signatures": [
          "export declare function makeState(initial?: InitialState): Effect.Effect<RefSubject.HydratedRefSubject<{\n    readonly activeId: string | null;\n    readonly orientation: \"horizontal\" | \"vertical\" | \"both\";\n    readonly loop: boolean;\n    readonly rtl: boolean;\n    readonly virtualFocus: boolean;\n}, Schema.SchemaError, never, never>, never, Scope.Scope>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Toolbar.ts",
            "start": {
              "line": 88,
              "column": 1
            },
            "end": {
              "line": 90,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare function makeState(initial?: InitialState): Effect.Effect<RefSubject.HydratedRefSubject<{\n    readonly activeId: string | null;\n    readonly orientation: \"horizontal\" | \"vertical\" | \"both\";\n    readonly loop: boolean;\n    readonly rtl: boolean;\n    readonly virtualFocus: boolean;\n}, Schema.SchemaError, never, never>, never, Scope.Scope>;"
    ],
    "typeParameters": [],
    "summary": "Creates hydrated Toolbar state. Uses Composite defaults unless overridden.",
    "sections": {},
    "examples": [
      {
        "language": "ts",
        "code": "import * as Effect from \"effect/Effect\";\nimport * as Toolbar from \"@typed/ui/Toolbar\";\n\nconst program = Effect.scoped(\n  Effect.gen(function* () {\n    const state = yield* Toolbar.makeState({});\n    const collection = yield* Toolbar.makeCollection();\n    return { state: yield* state, collection: yield* collection };\n  }),\n);"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Toolbar.ts",
        "start": {
          "line": 88,
          "column": 1
        },
        "end": {
          "line": 90,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Command focus"
  }
}
