{
  "id": "@typed/template/HtmlChunk#isSerializableSpreadKey",
  "canonicalId": "@typed/template#isSerializableSpreadKey",
  "symbol": {
    "id": "@typed/template/HtmlChunk#isSerializableSpreadKey",
    "packageName": "@typed/template",
    "moduleName": "HtmlChunk",
    "exportName": "isSerializableSpreadKey",
    "kind": "function",
    "signatures": [
      "export declare function isSerializableSpreadKey(key: string): boolean;"
    ],
    "summary": "Reports whether a dynamic spread key may be serialized into SSR HTML.",
    "sections": {
      "Why": "DOM properties, event handlers, refs, `on*` attributes, invalid names, and\nprototype-sensitive keys are not HTML attributes. Rejecting them here keeps\nserver output aligned with the web platform and avoids treating object data\nas trusted markup.",
      "Ownership and lifetime": "This pure predicate retains neither the key nor any application value."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { isSerializableSpreadKey } from \"@typed/template/HtmlChunk\"\n\nisSerializableSpreadKey(\"aria-label\") // true\nisSerializableSpreadKey(\"onclick\") // false"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/HtmlChunk.ts",
      "line": 745
    },
    "since": "1.0.0",
    "category": "Spread serialization"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template/HtmlChunk#isSerializableSpreadKey",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": "HtmlChunk",
    "consumerSpecifier": "@typed/template/HtmlChunk",
    "exportName": "isSerializableSpreadKey",
    "qualifiedName": "isSerializableSpreadKey",
    "declarationKey": "declaration:bd96905edfd8ba5777377b78",
    "family": "function",
    "signatures": [
      "export declare function isSerializableSpreadKey(key: string): boolean;"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/HtmlChunk.ts",
        "start": {
          "line": 745,
          "column": 1
        },
        "end": {
          "line": 762,
          "column": 2
        }
      }
    ],
    "aliases": [
      "@typed/template#isSerializableSpreadKey"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:bd96905edfd8ba5777377b78",
    "name": "isSerializableSpreadKey",
    "family": "function",
    "facets": [
      {
        "family": "function",
        "syntaxKind": "FunctionDeclaration",
        "signatures": [
          "export declare function isSerializableSpreadKey(key: string): boolean;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/HtmlChunk.ts",
            "start": {
              "line": 745,
              "column": 1
            },
            "end": {
              "line": 762,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare function isSerializableSpreadKey(key: string): boolean;"
    ],
    "typeParameters": [],
    "summary": "Reports whether a dynamic spread key may be serialized into SSR HTML.",
    "sections": {
      "Why": "DOM properties, event handlers, refs, `on*` attributes, invalid names, and\nprototype-sensitive keys are not HTML attributes. Rejecting them here keeps\nserver output aligned with the web platform and avoids treating object data\nas trusted markup.",
      "Ownership and lifetime": "This pure predicate retains neither the key nor any application value."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { isSerializableSpreadKey } from \"@typed/template/HtmlChunk\"\n\nisSerializableSpreadKey(\"aria-label\") // true\nisSerializableSpreadKey(\"onclick\") // false"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/HtmlChunk.ts",
        "start": {
          "line": 745,
          "column": 1
        },
        "end": {
          "line": 762,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Spread serialization"
  }
}
