{
  "id": "@typed/template#WebComponent.register",
  "canonicalId": "@typed/template/WebComponent#register",
  "symbol": {
    "id": "@typed/template#WebComponent.register",
    "packageName": "@typed/template",
    "moduleName": ".",
    "exportName": "WebComponent.register",
    "kind": "function",
    "signatures": [
      "export declare function register<F extends Fields, View extends Renderable.Any>(definition: Definition<F, View>): Layer.Layer<never, RegistrationError, Exclude<Exclude<Renderable.Services<View>, RenderTemplate>, Scope.Scope>>;"
    ],
    "summary": "Registers in CurrentRenderDocument's registry and captures the layer's services.\nProvides no services; use the custom element through ordinary HTML templates.\nThe layer's Scope owns every connected instance. Closing it stops rendering\nand deactivates this class; browsers cannot unregister a custom element.\nDisconnect interrupts subscriptions/listeners; reconnect waits for cleanup\nbefore starting a fresh view. Failures dispatch typed:error with a Cause\nin CustomEvent.detail. Native template event handlers work without an adapter.\nShadow roots retain slotted light children. Light mode owns all host children.",
    "sections": {},
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/template/src/WebComponent.ts",
      "line": 161
    },
    "since": "1.0.0",
    "category": "Web Components"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template#WebComponent.register",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/template",
    "exportName": "WebComponent",
    "qualifiedName": "WebComponent.register",
    "declarationKey": "declaration:adcf1c4ae44e65a68c11d507",
    "family": "function",
    "signatures": [
      "export declare function register<F extends Fields, View extends Renderable.Any>(definition: Definition<F, View>): Layer.Layer<never, RegistrationError, Exclude<Exclude<Renderable.Services<View>, RenderTemplate>, Scope.Scope>>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/WebComponent.ts",
        "start": {
          "line": 161,
          "column": 1
        },
        "end": {
          "line": 451,
          "column": 2
        }
      }
    ],
    "aliases": [
      "@typed/template/WebComponent#register"
    ],
    "isAlias": true,
    "parentId": "@typed/template#WebComponent",
    "static": false,
    "importedFrom": "declaration:adcf1c4ae44e65a68c11d507"
  },
  "declaration": {
    "declarationKey": "declaration:adcf1c4ae44e65a68c11d507",
    "name": "register",
    "family": "function",
    "facets": [
      {
        "family": "function",
        "syntaxKind": "FunctionDeclaration",
        "signatures": [
          "export declare function register<F extends Fields, View extends Renderable.Any>(definition: Definition<F, View>): Layer.Layer<never, RegistrationError, Exclude<Exclude<Renderable.Services<View>, RenderTemplate>, Scope.Scope>>;"
        ],
        "typeParameters": [
          "F extends Fields",
          "View extends Renderable.Any"
        ],
        "sourceSpans": [
          {
            "file": "packages/template/src/WebComponent.ts",
            "start": {
              "line": 161,
              "column": 1
            },
            "end": {
              "line": 451,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare function register<F extends Fields, View extends Renderable.Any>(definition: Definition<F, View>): Layer.Layer<never, RegistrationError, Exclude<Exclude<Renderable.Services<View>, RenderTemplate>, Scope.Scope>>;"
    ],
    "typeParameters": [
      "F extends Fields",
      "View extends Renderable.Any"
    ],
    "summary": "Registers in CurrentRenderDocument's registry and captures the layer's services.\nProvides no services; use the custom element through ordinary HTML templates.\nThe layer's Scope owns every connected instance. Closing it stops rendering\nand deactivates this class; browsers cannot unregister a custom element.\nDisconnect interrupts subscriptions/listeners; reconnect waits for cleanup\nbefore starting a fresh view. Failures dispatch typed:error with a Cause\nin CustomEvent.detail. Native template event handlers work without an adapter.\nShadow roots retain slotted light children. Light mode owns all host children.",
    "sections": {},
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/template/src/WebComponent.ts",
        "start": {
          "line": 161,
          "column": 1
        },
        "end": {
          "line": 451,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Web Components"
  }
}
