{
  "id": "@typed/fx/RefSubject#RefSubject.Class",
  "canonicalId": "@typed/fx/RefSubject#RefSubject.Class",
  "symbol": {
    "id": "@typed/fx/RefSubject#RefSubject.Class",
    "packageName": "@typed/fx",
    "moduleName": "RefSubject",
    "exportName": "RefSubject.Class",
    "kind": "interface",
    "signatures": [
      "interface Class<Self, Id extends string, A, E> extends RefSubject.Service<Self, Id, A, E> {\n    new (): RefSubject.Service<Self, Id, A, E>;\n}"
    ],
    "summary": "Defines the class state contract.",
    "sections": {
      "Why": "Adds the construct signature used by class-extension syntax to the RefSubject service facade.",
      "Ownership and lifetime": "Class is a contract and performs no acquisition. Implementations retain the errors,\nservices, interruption, and Scope requirements expressed by its members.",
      "Construct signatures": "Construct signature used by the generated RefSubject service class.",
      "Construct signatures: Why": "Makes `class State extends RefSubject.Service(...)(id) {}` type-check while returning the\nstatic facade rather than allocating a second state object.",
      "Construct signatures: Ownership and lifetime": "Constructing the generated class returns its static service facade; it does not allocate or\nacquire a RefSubject. The matching Layer owns the installed state and its Scope."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/fx/src/RefSubject/RefSubject.ts",
      "line": 791
    },
    "since": "1.18.0",
    "category": "Services"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx/RefSubject#RefSubject.Class",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": "RefSubject",
    "consumerSpecifier": "@typed/fx/RefSubject",
    "exportName": "RefSubject",
    "qualifiedName": "RefSubject.Class",
    "declarationKey": "declaration:1406c0ff97b6bfa08544a661",
    "family": "interface",
    "signatures": [
      "interface Class<Self, Id extends string, A, E> extends RefSubject.Service<Self, Id, A, E> {\n    new (): RefSubject.Service<Self, Id, A, E>;\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefSubject.ts",
        "start": {
          "line": 791,
          "column": 3
        },
        "end": {
          "line": 810,
          "column": 4
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefSubject.ts",
        "start": {
          "line": 809,
          "column": 5
        },
        "end": {
          "line": 809,
          "column": 48
        }
      }
    ],
    "aliases": [
      "@typed/fx#RefSubject.RefSubject.Class"
    ],
    "isAlias": false,
    "parentId": "@typed/fx/RefSubject#RefSubject",
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:1406c0ff97b6bfa08544a661",
    "name": "Class",
    "family": "interface",
    "facets": [
      {
        "family": "interface",
        "syntaxKind": "InterfaceDeclaration",
        "signatures": [
          "interface Class<Self, Id extends string, A, E> extends RefSubject.Service<Self, Id, A, E> {\n    new (): RefSubject.Service<Self, Id, A, E>;\n}"
        ],
        "typeParameters": [
          "Self",
          "Id extends string",
          "A",
          "E"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefSubject.ts",
            "start": {
              "line": 791,
              "column": 3
            },
            "end": {
              "line": 810,
              "column": 4
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "construct-signature",
        "syntaxKind": "ConstructSignature",
        "signatures": [
          "new (): RefSubject.Service<Self, Id, A, E>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefSubject.ts",
            "start": {
              "line": 809,
              "column": 5
            },
            "end": {
              "line": 809,
              "column": 48
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "interface Class<Self, Id extends string, A, E> extends RefSubject.Service<Self, Id, A, E> {\n    new (): RefSubject.Service<Self, Id, A, E>;\n}"
    ],
    "typeParameters": [
      "Self",
      "Id extends string",
      "A",
      "E"
    ],
    "summary": "Defines the class state contract.",
    "sections": {
      "Why": "Adds the construct signature used by class-extension syntax to the RefSubject service facade.",
      "Ownership and lifetime": "Class is a contract and performs no acquisition. Implementations retain the errors,\nservices, interruption, and Scope requirements expressed by its members.",
      "Construct signatures": "Construct signature used by the generated RefSubject service class.",
      "Construct signatures: Why": "Makes `class State extends RefSubject.Service(...)(id) {}` type-check while returning the\nstatic facade rather than allocating a second state object.",
      "Construct signatures: Ownership and lifetime": "Constructing the generated class returns its static service facade; it does not allocate or\nacquire a RefSubject. The matching Layer owns the installed state and its Scope."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefSubject.ts",
        "start": {
          "line": 791,
          "column": 3
        },
        "end": {
          "line": 810,
          "column": 4
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefSubject.ts",
        "start": {
          "line": 809,
          "column": 5
        },
        "end": {
          "line": 809,
          "column": 48
        }
      }
    ],
    "since": "1.18.0",
    "category": "Services"
  }
}
