{
  "id": "@typed/ui/index#Menu.makeCollection",
  "canonicalId": "@typed/ui/Menu#makeCollection",
  "symbol": {
    "id": "@typed/ui/index#Menu.makeCollection",
    "packageName": "@typed/ui",
    "moduleName": "index",
    "exportName": "Menu.makeCollection",
    "kind": "constant",
    "signatures": [
      "export declare const makeCollection: (initial?: Collection.State<string, Element>) => Effect.Effect<RefSubject.RefSubject<Collection.State<string, Element>, never, never>, never, Scope.Scope>;"
    ],
    "summary": "Creates a scoped Collection for Menu items.",
    "sections": {},
    "examples": [
      {
        "language": "ts",
        "code": "import * as Effect from \"effect/Effect\";\nimport * as Menu from \"@typed/ui/Menu\";\n\nconst program = Effect.scoped(\n  Effect.gen(function* () {\n    const collection = yield* Menu.makeCollection();\n    return yield* collection;\n  }),\n);"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/ui/src/Menu.ts",
      "line": 194
    },
    "since": "1.0.0",
    "category": "Command registration"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/ui/index#Menu.makeCollection",
    "packageName": "@typed/ui",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "index",
    "consumerSpecifier": "@typed/ui/index",
    "exportName": "Menu",
    "qualifiedName": "Menu.makeCollection",
    "declarationKey": "declaration:db6bcc63c1f96f5febfe72fc",
    "family": "variable",
    "signatures": [
      "export declare const makeCollection: (initial?: Collection.State<string, Element>) => Effect.Effect<RefSubject.RefSubject<Collection.State<string, Element>, never, never>, never, Scope.Scope>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Menu.ts",
        "start": {
          "line": 194,
          "column": 14
        },
        "end": {
          "line": 194,
          "column": 59
        }
      }
    ],
    "aliases": [
      "@typed/ui#Menu.makeCollection",
      "@typed/ui/Menu#makeCollection"
    ],
    "isAlias": true,
    "parentId": "@typed/ui/index#Menu",
    "static": false,
    "importedFrom": "declaration:db6bcc63c1f96f5febfe72fc"
  },
  "declaration": {
    "declarationKey": "declaration:db6bcc63c1f96f5febfe72fc",
    "name": "makeCollection",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const makeCollection: (initial?: Collection.State<string, Element>) => Effect.Effect<RefSubject.RefSubject<Collection.State<string, Element>, never, never>, never, Scope.Scope>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Menu.ts",
            "start": {
              "line": 194,
              "column": 14
            },
            "end": {
              "line": 194,
              "column": 59
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const makeCollection: (initial?: Collection.State<string, Element>) => Effect.Effect<RefSubject.RefSubject<Collection.State<string, Element>, never, never>, never, Scope.Scope>;"
    ],
    "typeParameters": [],
    "summary": "Creates a scoped Collection for Menu items.",
    "sections": {},
    "examples": [
      {
        "language": "ts",
        "code": "import * as Effect from \"effect/Effect\";\nimport * as Menu from \"@typed/ui/Menu\";\n\nconst program = Effect.scoped(\n  Effect.gen(function* () {\n    const collection = yield* Menu.makeCollection();\n    return yield* collection;\n  }),\n);"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Menu.ts",
        "start": {
          "line": 194,
          "column": 14
        },
        "end": {
          "line": 194,
          "column": 59
        }
      }
    ],
    "since": "1.0.0",
    "category": "Command registration"
  }
}
