{
  "id": "@typed/router/CurrentRoute#CurrentRouteTree",
  "canonicalId": "@typed/router#CurrentRouteTree",
  "symbol": {
    "id": "@typed/router/CurrentRoute#CurrentRouteTree",
    "packageName": "@typed/router",
    "moduleName": "CurrentRoute",
    "exportName": "CurrentRouteTree",
    "kind": "interface",
    "signatures": [
      "export interface CurrentRouteTree {\n    readonly route: Route<string, any>;\n    readonly parent?: CurrentRouteTree | undefined;\n}"
    ],
    "summary": "Describes the stable route mount tree visible to a running handler or layout.",
    "sections": {
      "Why": "The mounted tree records structural ownership and parentage. It is deliberately not the live URL;\nread `CurrentPath` or `Navigation.currentEntry` when reacting to location changes.",
      "Ownership and lifetime": "Values are immutable and acquire no resources. The selected handler Scope owns the tree supplied\nthrough `CurrentRoute`; nested layout and route layers may extend it.",
      "Property: parent": "The enclosing mounted boundary, when the route was nested.",
      "Property: parent: Why": "It preserves layout and prefix ancestry without coupling it to browser history.",
      "Property: parent: Ownership and lifetime": "The reference is immutable and does not extend the parent's owning Scope.",
      "Property: route": "The route mounted at this boundary.",
      "Property: route: Why": "It lets children derive structural prefixes without treating a later URL update as a remount.",
      "Property: route: Ownership and lifetime": "The value is immutable and lives with the containing mount tree."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/router/src/CurrentRoute.ts",
      "line": 30
    },
    "since": "1.0.0",
    "category": "Structural mounts"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/router/CurrentRoute#CurrentRouteTree",
    "packageName": "@typed/router",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "CurrentRoute",
    "consumerSpecifier": "@typed/router/CurrentRoute",
    "exportName": "CurrentRouteTree",
    "qualifiedName": "CurrentRouteTree",
    "declarationKey": "declaration:65e140cb1481d818253b1dc0",
    "family": "interface",
    "signatures": [
      "export interface CurrentRouteTree {\n    readonly route: Route<string, any>;\n    readonly parent?: CurrentRouteTree | undefined;\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/router/src/CurrentRoute.ts",
        "start": {
          "line": 30,
          "column": 1
        },
        "end": {
          "line": 59,
          "column": 2
        }
      },
      {
        "file": "packages/router/src/CurrentRoute.ts",
        "start": {
          "line": 58,
          "column": 3
        },
        "end": {
          "line": 58,
          "column": 50
        }
      },
      {
        "file": "packages/router/src/CurrentRoute.ts",
        "start": {
          "line": 44,
          "column": 3
        },
        "end": {
          "line": 44,
          "column": 38
        }
      }
    ],
    "aliases": [
      "@typed/router#CurrentRouteTree"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:65e140cb1481d818253b1dc0",
    "name": "CurrentRouteTree",
    "family": "interface",
    "facets": [
      {
        "family": "interface",
        "syntaxKind": "InterfaceDeclaration",
        "signatures": [
          "export interface CurrentRouteTree {\n    readonly route: Route<string, any>;\n    readonly parent?: CurrentRouteTree | undefined;\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/CurrentRoute.ts",
            "start": {
              "line": 30,
              "column": 1
            },
            "end": {
              "line": 59,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly parent?: CurrentRouteTree | undefined;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/CurrentRoute.ts",
            "start": {
              "line": 58,
              "column": 3
            },
            "end": {
              "line": 58,
              "column": 50
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": true
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly route: Route<string, any>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/CurrentRoute.ts",
            "start": {
              "line": 44,
              "column": 3
            },
            "end": {
              "line": 44,
              "column": 38
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export interface CurrentRouteTree {\n    readonly route: Route<string, any>;\n    readonly parent?: CurrentRouteTree | undefined;\n}"
    ],
    "typeParameters": [],
    "summary": "Describes the stable route mount tree visible to a running handler or layout.",
    "sections": {
      "Why": "The mounted tree records structural ownership and parentage. It is deliberately not the live URL;\nread `CurrentPath` or `Navigation.currentEntry` when reacting to location changes.",
      "Ownership and lifetime": "Values are immutable and acquire no resources. The selected handler Scope owns the tree supplied\nthrough `CurrentRoute`; nested layout and route layers may extend it.",
      "Property: parent": "The enclosing mounted boundary, when the route was nested.",
      "Property: parent: Why": "It preserves layout and prefix ancestry without coupling it to browser history.",
      "Property: parent: Ownership and lifetime": "The reference is immutable and does not extend the parent's owning Scope.",
      "Property: route": "The route mounted at this boundary.",
      "Property: route: Why": "It lets children derive structural prefixes without treating a later URL update as a remount.",
      "Property: route: Ownership and lifetime": "The value is immutable and lives with the containing mount tree."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/router/src/CurrentRoute.ts",
        "start": {
          "line": 30,
          "column": 1
        },
        "end": {
          "line": 59,
          "column": 2
        }
      },
      {
        "file": "packages/router/src/CurrentRoute.ts",
        "start": {
          "line": 58,
          "column": 3
        },
        "end": {
          "line": 58,
          "column": 50
        }
      },
      {
        "file": "packages/router/src/CurrentRoute.ts",
        "start": {
          "line": 44,
          "column": 3
        },
        "end": {
          "line": 44,
          "column": 38
        }
      }
    ],
    "since": "1.0.0",
    "category": "Structural mounts"
  }
}
