{
  "id": "@typed/template#getAllSiblingsBetween",
  "canonicalId": "@typed/template#getAllSiblingsBetween",
  "symbol": {
    "id": "@typed/template#getAllSiblingsBetween",
    "packageName": "@typed/template",
    "moduleName": ".",
    "exportName": "getAllSiblingsBetween",
    "kind": "function",
    "signatures": [
      "export declare function getAllSiblingsBetween(start: Node, end: Node): Array<Node>;"
    ],
    "summary": "Gets all sibling nodes between exact range boundaries, excluding both markers.",
    "sections": {
      "Why": "Renderer extensions need a transparent view of a Wire or hydration range\nwithout introducing a wrapper node.",
      "Ownership and lifetime": "The returned array borrows the existing nodes; it does not detach or retain\ntheir parent."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { getAllSiblingsBetween } from \"@typed/template/Wire\"\n\nconst parent = document.createElement(\"div\")\nconst startComment = document.createComment(\"start\")\nconst child = document.createElement(\"span\")\nconst endComment = document.createComment(\"end\")\nparent.append(startComment, child, endComment)\n\nconst nodes = getAllSiblingsBetween(startComment, endComment)\nconsole.log(nodes[0] === child) // true"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/template/src/Wire.ts",
      "line": 321
    },
    "since": "1.0.0",
    "category": "Range traversal"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/template#getAllSiblingsBetween",
    "packageName": "@typed/template",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/template",
    "exportName": "getAllSiblingsBetween",
    "qualifiedName": "getAllSiblingsBetween",
    "declarationKey": "declaration:abbb15d6f49f06dfda0b2e73",
    "family": "function",
    "signatures": [
      "export declare function getAllSiblingsBetween(start: Node, end: Node): Array<Node>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Wire.ts",
        "start": {
          "line": 321,
          "column": 1
        },
        "end": {
          "line": 329,
          "column": 2
        }
      }
    ],
    "aliases": [
      "@typed/template/Wire#getAllSiblingsBetween"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:abbb15d6f49f06dfda0b2e73",
    "name": "getAllSiblingsBetween",
    "family": "function",
    "facets": [
      {
        "family": "function",
        "syntaxKind": "FunctionDeclaration",
        "signatures": [
          "export declare function getAllSiblingsBetween(start: Node, end: Node): Array<Node>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/template/src/Wire.ts",
            "start": {
              "line": 321,
              "column": 1
            },
            "end": {
              "line": 329,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare function getAllSiblingsBetween(start: Node, end: Node): Array<Node>;"
    ],
    "typeParameters": [],
    "summary": "Gets all sibling nodes between exact range boundaries, excluding both markers.",
    "sections": {
      "Why": "Renderer extensions need a transparent view of a Wire or hydration range\nwithout introducing a wrapper node.",
      "Ownership and lifetime": "The returned array borrows the existing nodes; it does not detach or retain\ntheir parent."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { getAllSiblingsBetween } from \"@typed/template/Wire\"\n\nconst parent = document.createElement(\"div\")\nconst startComment = document.createComment(\"start\")\nconst child = document.createElement(\"span\")\nconst endComment = document.createComment(\"end\")\nparent.append(startComment, child, endComment)\n\nconst nodes = getAllSiblingsBetween(startComment, endComment)\nconsole.log(nodes[0] === child) // true"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/template/src/Wire.ts",
        "start": {
          "line": 321,
          "column": 1
        },
        "end": {
          "line": 329,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Range traversal",
    "stability": "internal-but-published"
  }
}
