{
  "id": "@typed/ui#Dom.ElementRef",
  "canonicalId": "@typed/ui/Dom/Types#ElementRef",
  "symbol": {
    "id": "@typed/ui#Dom.ElementRef",
    "packageName": "@typed/ui",
    "moduleName": ".",
    "exportName": "Dom.ElementRef",
    "kind": "type",
    "signatures": [
      "export type ElementRef<Element extends globalThis.Element> = {\n    readonly ref?: ElementRefCallback<Element> | RefSubject.HydrationRef<any, any>;\n};"
    ],
    "summary": "Optional ref contract shared by DOM-backed component options.",
    "sections": {
      "Why": "It supports both ordinary element callbacks and a `RefSubject` hydration\nowner at the same host boundary.",
      "Ownership and lifetime": "A mounted element may have only one hydration owner. Composed ordinary refs\nshare the rendering Scope and must not outlive the element.",
      "Property: ref": "The callback or sole hydration owner for the mounted element."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/ui/src/Dom/Types.ts",
      "line": 195
    },
    "since": "1.0.0",
    "category": "Element ref types"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/ui#Dom.ElementRef",
    "packageName": "@typed/ui",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/ui",
    "exportName": "Dom",
    "qualifiedName": "Dom.ElementRef",
    "declarationKey": "declaration:b97cfc190d2db8e09bc74c24",
    "family": "type-alias",
    "signatures": [
      "export type ElementRef<Element extends globalThis.Element> = {\n    readonly ref?: ElementRefCallback<Element> | RefSubject.HydrationRef<any, any>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Dom/Types.ts",
        "start": {
          "line": 195,
          "column": 1
        },
        "end": {
          "line": 198,
          "column": 3
        }
      },
      {
        "file": "packages/ui/src/Dom/Types.ts",
        "start": {
          "line": 197,
          "column": 3
        },
        "end": {
          "line": 197,
          "column": 82
        }
      }
    ],
    "aliases": [
      "@typed/ui/Dom#ElementRef",
      "@typed/ui/Dom/Types#ElementRef",
      "@typed/ui/Dom/index#ElementRef",
      "@typed/ui/index#Dom.ElementRef"
    ],
    "isAlias": true,
    "parentId": "@typed/ui#Dom",
    "static": false,
    "importedFrom": "declaration:b97cfc190d2db8e09bc74c24"
  },
  "declaration": {
    "declarationKey": "declaration:b97cfc190d2db8e09bc74c24",
    "name": "ElementRef",
    "family": "type-alias",
    "facets": [
      {
        "family": "type-alias",
        "syntaxKind": "TypeAliasDeclaration",
        "signatures": [
          "export type ElementRef<Element extends globalThis.Element> = {\n    readonly ref?: ElementRefCallback<Element> | RefSubject.HydrationRef<any, any>;\n};"
        ],
        "typeParameters": [
          "Element extends globalThis.Element"
        ],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Dom/Types.ts",
            "start": {
              "line": 195,
              "column": 1
            },
            "end": {
              "line": 198,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly ref?: ElementRefCallback<Element> | RefSubject.HydrationRef<any, any>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Dom/Types.ts",
            "start": {
              "line": 197,
              "column": 3
            },
            "end": {
              "line": 197,
              "column": 82
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": true
      }
    ],
    "signatures": [
      "export type ElementRef<Element extends globalThis.Element> = {\n    readonly ref?: ElementRefCallback<Element> | RefSubject.HydrationRef<any, any>;\n};"
    ],
    "typeParameters": [
      "Element extends globalThis.Element"
    ],
    "summary": "Optional ref contract shared by DOM-backed component options.",
    "sections": {
      "Why": "It supports both ordinary element callbacks and a `RefSubject` hydration\nowner at the same host boundary.",
      "Ownership and lifetime": "A mounted element may have only one hydration owner. Composed ordinary refs\nshare the rendering Scope and must not outlive the element.",
      "Property: ref": "The callback or sole hydration owner for the mounted element."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Dom/Types.ts",
        "start": {
          "line": 195,
          "column": 1
        },
        "end": {
          "line": 198,
          "column": 3
        }
      },
      {
        "file": "packages/ui/src/Dom/Types.ts",
        "start": {
          "line": 197,
          "column": 3
        },
        "end": {
          "line": 197,
          "column": 82
        }
      }
    ],
    "since": "1.0.0",
    "category": "Element ref types"
  }
}
