{
  "id": "@typed/fx#RefSubject.HydrationElement",
  "canonicalId": "@typed/fx/RefSubject#HydrationElement",
  "symbol": {
    "id": "@typed/fx#RefSubject.HydrationElement",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "RefSubject.HydrationElement",
    "kind": "interface",
    "signatures": [
      "export interface HydrationElement {\n    getAttribute(name: string): string | null;\n    setAttribute(name: string, value: string): void;\n    removeAttribute(name: string): void;\n}"
    ],
    "summary": "Defines the hydration element state contract.",
    "sections": {
      "Why": "Defines the minimal standards-based attribute surface required to restore state, allowing DOM\nelements and compatible hosts to participate.",
      "Ownership and lifetime": "HydrationElement is a contract and performs no acquisition. Implementations retain the errors,\nservices, interruption, and Scope requirements expressed by its members.",
      "Method: getAttribute": "Reads an encoded hydration attribute from the host.",
      "Method: getAttribute: Why": "Reads the serialized payload from the host during client restoration.",
      "Method: getAttribute: Ownership and lifetime": "This declaration acquires no resources. Effects represented by the contract retain their own\nservices and Scope requirements.",
      "Method: removeAttribute": "Removes a consumed hydration attribute from the host.",
      "Method: removeAttribute: Why": "Removes consumed hydration data so it cannot be restored twice from stale markup.",
      "Method: removeAttribute: Ownership and lifetime": "This declaration acquires no resources. Effects represented by the contract retain their own\nservices and Scope requirements.",
      "Method: setAttribute": "Writes an encoded hydration attribute to the host.",
      "Method: setAttribute: Why": "Writes a server-produced hydration payload through the host's native attribute contract.",
      "Method: setAttribute: Ownership and lifetime": "This declaration acquires no resources. Effects represented by the contract retain their own\nservices and Scope requirements."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/fx/src/RefSubject/Hydration.ts",
      "line": 152
    },
    "since": "2.0.0",
    "category": "Hydration protocol"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#RefSubject.HydrationElement",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "RefSubject",
    "qualifiedName": "RefSubject.HydrationElement",
    "declarationKey": "declaration:6c2568020d4a6827aed620f4",
    "family": "interface",
    "signatures": [
      "export interface HydrationElement {\n    getAttribute(name: string): string | null;\n    setAttribute(name: string, value: string): void;\n    removeAttribute(name: string): void;\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/Hydration.ts",
        "start": {
          "line": 152,
          "column": 1
        },
        "end": {
          "line": 204,
          "column": 2
        }
      },
      {
        "file": "packages/fx/src/RefSubject/Hydration.ts",
        "start": {
          "line": 169,
          "column": 3
        },
        "end": {
          "line": 169,
          "column": 45
        }
      },
      {
        "file": "packages/fx/src/RefSubject/Hydration.ts",
        "start": {
          "line": 203,
          "column": 3
        },
        "end": {
          "line": 203,
          "column": 39
        }
      },
      {
        "file": "packages/fx/src/RefSubject/Hydration.ts",
        "start": {
          "line": 186,
          "column": 3
        },
        "end": {
          "line": 186,
          "column": 51
        }
      }
    ],
    "aliases": [
      "@typed/fx/RefSubject#HydrationElement"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#RefSubject",
    "static": false,
    "importedFrom": "declaration:6c2568020d4a6827aed620f4"
  },
  "declaration": {
    "declarationKey": "declaration:6c2568020d4a6827aed620f4",
    "name": "HydrationElement",
    "family": "interface",
    "facets": [
      {
        "family": "interface",
        "syntaxKind": "InterfaceDeclaration",
        "signatures": [
          "export interface HydrationElement {\n    getAttribute(name: string): string | null;\n    setAttribute(name: string, value: string): void;\n    removeAttribute(name: string): void;\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/Hydration.ts",
            "start": {
              "line": 152,
              "column": 1
            },
            "end": {
              "line": 204,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "method",
        "syntaxKind": "MethodSignature",
        "signatures": [
          "getAttribute(name: string): string | null;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/Hydration.ts",
            "start": {
              "line": 169,
              "column": 3
            },
            "end": {
              "line": 169,
              "column": 45
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "method",
        "syntaxKind": "MethodSignature",
        "signatures": [
          "removeAttribute(name: string): void;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/Hydration.ts",
            "start": {
              "line": 203,
              "column": 3
            },
            "end": {
              "line": 203,
              "column": 39
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "method",
        "syntaxKind": "MethodSignature",
        "signatures": [
          "setAttribute(name: string, value: string): void;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/Hydration.ts",
            "start": {
              "line": 186,
              "column": 3
            },
            "end": {
              "line": 186,
              "column": 51
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export interface HydrationElement {\n    getAttribute(name: string): string | null;\n    setAttribute(name: string, value: string): void;\n    removeAttribute(name: string): void;\n}"
    ],
    "typeParameters": [],
    "summary": "Defines the hydration element state contract.",
    "sections": {
      "Why": "Defines the minimal standards-based attribute surface required to restore state, allowing DOM\nelements and compatible hosts to participate.",
      "Ownership and lifetime": "HydrationElement is a contract and performs no acquisition. Implementations retain the errors,\nservices, interruption, and Scope requirements expressed by its members.",
      "Method: getAttribute": "Reads an encoded hydration attribute from the host.",
      "Method: getAttribute: Why": "Reads the serialized payload from the host during client restoration.",
      "Method: getAttribute: Ownership and lifetime": "This declaration acquires no resources. Effects represented by the contract retain their own\nservices and Scope requirements.",
      "Method: removeAttribute": "Removes a consumed hydration attribute from the host.",
      "Method: removeAttribute: Why": "Removes consumed hydration data so it cannot be restored twice from stale markup.",
      "Method: removeAttribute: Ownership and lifetime": "This declaration acquires no resources. Effects represented by the contract retain their own\nservices and Scope requirements.",
      "Method: setAttribute": "Writes an encoded hydration attribute to the host.",
      "Method: setAttribute: Why": "Writes a server-produced hydration payload through the host's native attribute contract.",
      "Method: setAttribute: Ownership and lifetime": "This declaration acquires no resources. Effects represented by the contract retain their own\nservices and Scope requirements."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/Hydration.ts",
        "start": {
          "line": 152,
          "column": 1
        },
        "end": {
          "line": 204,
          "column": 2
        }
      },
      {
        "file": "packages/fx/src/RefSubject/Hydration.ts",
        "start": {
          "line": 169,
          "column": 3
        },
        "end": {
          "line": 169,
          "column": 45
        }
      },
      {
        "file": "packages/fx/src/RefSubject/Hydration.ts",
        "start": {
          "line": 203,
          "column": 3
        },
        "end": {
          "line": 203,
          "column": 39
        }
      },
      {
        "file": "packages/fx/src/RefSubject/Hydration.ts",
        "start": {
          "line": 186,
          "column": 3
        },
        "end": {
          "line": 186,
          "column": 51
        }
      }
    ],
    "since": "2.0.0",
    "category": "Hydration protocol"
  }
}
