{
  "id": "@typed/template/Template#SparseTextNode",
  "canonicalId": "@typed/template#SparseTextNode",
  "symbol": {
    "id": "@typed/template/Template#SparseTextNode",
    "packageName": "@typed/template",
    "moduleName": "Template",
    "exportName": "SparseTextNode",
    "kind": "class",
    "signatures": [
      "export declare class SparseTextNode {\n    readonly _tag: \"sparse-text\";\n    readonly nodes: Array<TextNode | TextPartNode>;\n    constructor(nodes: Array<TextNode | TextPartNode>);\n}"
    ],
    "summary": "Represents sparse text content (e.g. `Hello ${name}!`).",
    "sections": {
      "Why": "Literal and dynamic segments update one local text target without structural\nreconciliation.",
      "Ownership and lifetime": "The model owns segments; the mounted Scope owns the native text updater.",
      "Constructor": "Creates sparse text syntax.",
      "Property: _tag": "Sparse-text discriminant.",
      "Property: _tag: Why": "Selects ordered segment joining into one retained text target.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: nodes": "Ordered literal and dynamic text segments.",
      "Property: nodes: Why": "Reconstructs one text value in author order.",
      "Property: nodes: Ownership and lifetime": "Retained AST array; the mounted part owns live inputs."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { SparseTextNode } from \"@typed/template/Template\"\n\nconst node = new SparseTextNode([])"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/Template.ts",
      "line": 1430
    },
    "since": "1.0.0",
    "category": "Sparse text"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template/Template#SparseTextNode",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": "Template",
    "consumerSpecifier": "@typed/template/Template",
    "exportName": "SparseTextNode",
    "qualifiedName": "SparseTextNode",
    "declarationKey": "declaration:154fbda3cbe6f7aaff8f48d2",
    "family": "class",
    "signatures": [
      "export declare class SparseTextNode {\n    readonly _tag: \"sparse-text\";\n    readonly nodes: Array<TextNode | TextPartNode>;\n    constructor(nodes: Array<TextNode | TextPartNode>);\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1430,
          "column": 1
        },
        "end": {
          "line": 1451,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 1318,
          "column": 5
        },
        "end": {
          "line": 1318,
          "column": 56
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1438,
          "column": 3
        },
        "end": {
          "line": 1438,
          "column": 42
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1446,
          "column": 3
        },
        "end": {
          "line": 1446,
          "column": 50
        }
      }
    ],
    "aliases": [
      "@typed/template#SparseTextNode"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:154fbda3cbe6f7aaff8f48d2",
    "name": "SparseTextNode",
    "family": "class",
    "facets": [
      {
        "family": "class",
        "syntaxKind": "ClassDeclaration",
        "signatures": [
          "export declare class SparseTextNode {\n    readonly _tag: \"sparse-text\";\n    readonly nodes: Array<TextNode | TextPartNode>;\n    constructor(nodes: Array<TextNode | TextPartNode>);\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1430,
              "column": 1
            },
            "end": {
              "line": 1451,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "constructor",
        "syntaxKind": "Constructor",
        "signatures": [
          "constructor(nodes: Array<TextNode | TextPartNode>);"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/dist/Template.d.ts",
            "start": {
              "line": 1318,
              "column": 5
            },
            "end": {
              "line": 1318,
              "column": 56
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly _tag: \"sparse-text\";"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1438,
              "column": 3
            },
            "end": {
              "line": 1438,
              "column": 42
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertyDeclaration",
        "signatures": [
          "readonly nodes: Array<TextNode | TextPartNode>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Template.ts",
            "start": {
              "line": 1446,
              "column": 3
            },
            "end": {
              "line": 1446,
              "column": 50
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export declare class SparseTextNode {\n    readonly _tag: \"sparse-text\";\n    readonly nodes: Array<TextNode | TextPartNode>;\n    constructor(nodes: Array<TextNode | TextPartNode>);\n}"
    ],
    "typeParameters": [],
    "summary": "Represents sparse text content (e.g. `Hello ${name}!`).",
    "sections": {
      "Why": "Literal and dynamic segments update one local text target without structural\nreconciliation.",
      "Ownership and lifetime": "The model owns segments; the mounted Scope owns the native text updater.",
      "Constructor": "Creates sparse text syntax.",
      "Property: _tag": "Sparse-text discriminant.",
      "Property: _tag: Why": "Selects ordered segment joining into one retained text target.",
      "Property: _tag: Ownership and lifetime": "Immutable AST metadata.",
      "Property: nodes": "Ordered literal and dynamic text segments.",
      "Property: nodes: Why": "Reconstructs one text value in author order.",
      "Property: nodes: Ownership and lifetime": "Retained AST array; the mounted part owns live inputs."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { SparseTextNode } from \"@typed/template/Template\"\n\nconst node = new SparseTextNode([])"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1430,
          "column": 1
        },
        "end": {
          "line": 1451,
          "column": 2
        }
      },
      {
        "file": "packages/template/dist/Template.d.ts",
        "start": {
          "line": 1318,
          "column": 5
        },
        "end": {
          "line": 1318,
          "column": 56
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1438,
          "column": 3
        },
        "end": {
          "line": 1438,
          "column": 42
        }
      },
      {
        "file": "packages/template/src/Template.ts",
        "start": {
          "line": 1446,
          "column": 3
        },
        "end": {
          "line": 1446,
          "column": 50
        }
      }
    ],
    "since": "1.0.0",
    "category": "Sparse text"
  }
}
