{
  "id": "@typed/router/AST#RouteAst",
  "canonicalId": "@typed/router/AST#RouteAst",
  "symbol": {
    "id": "@typed/router/AST#RouteAst",
    "packageName": "@typed/router",
    "moduleName": "AST",
    "exportName": "RouteAst",
    "kind": "type",
    "signatures": [
      "export type RouteAst = RouteAst.Path | RouteAst.Transform | RouteAst.Join;",
      "export declare namespace RouteAst {\n    interface Path {\n        type: \"path\";\n        path: PathAst;\n    }\n    interface Transform {\n        type: \"transform\";\n        from: RouteAst;\n        to: Top;\n        transformation: Transformation<any, any, any, any>;\n    }\n    interface Join {\n        type: \"join\";\n        parts: ReadonlyArray<RouteAst>;\n    }\n}"
    ],
    "summary": "The union of path, schema-transform, and joined route nodes.",
    "sections": {
      "Why": "Route composition preserves transformations instead of flattening them into an untyped string.",
      "Ownership and lifetime": "`RouteAst` describes plain readonly AST data. Routes and Matchers retain the concrete nodes they receive by reference; the type itself owns no resource."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/router/src/AST.ts",
      "line": 422
    },
    "since": "1.0.0",
    "category": "Path syntax"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/router/AST#RouteAst",
    "packageName": "@typed/router",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": "AST",
    "consumerSpecifier": "@typed/router/AST",
    "exportName": "RouteAst",
    "qualifiedName": "RouteAst",
    "declarationKey": "declaration:ad5cde71e1579a3483179393",
    "family": "type-alias",
    "signatures": [
      "export type RouteAst = RouteAst.Path | RouteAst.Transform | RouteAst.Join;",
      "export declare namespace RouteAst {\n    interface Path {\n        type: \"path\";\n        path: PathAst;\n    }\n    interface Transform {\n        type: \"transform\";\n        from: RouteAst;\n        to: Top;\n        transformation: Transformation<any, any, any, any>;\n    }\n    interface Join {\n        type: \"join\";\n        parts: ReadonlyArray<RouteAst>;\n    }\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 422,
          "column": 1
        },
        "end": {
          "line": 422,
          "column": 75
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 424,
          "column": 1
        },
        "end": {
          "line": 588,
          "column": 2
        }
      }
    ],
    "aliases": [],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:ad5cde71e1579a3483179393",
    "name": "RouteAst",
    "family": "type-alias",
    "facets": [
      {
        "family": "type-alias",
        "syntaxKind": "TypeAliasDeclaration",
        "signatures": [
          "export type RouteAst = RouteAst.Path | RouteAst.Transform | RouteAst.Join;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/AST.ts",
            "start": {
              "line": 422,
              "column": 1
            },
            "end": {
              "line": 422,
              "column": 75
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "namespace",
        "syntaxKind": "ModuleDeclaration",
        "signatures": [
          "export declare namespace RouteAst {\n    interface Path {\n        type: \"path\";\n        path: PathAst;\n    }\n    interface Transform {\n        type: \"transform\";\n        from: RouteAst;\n        to: Top;\n        transformation: Transformation<any, any, any, any>;\n    }\n    interface Join {\n        type: \"join\";\n        parts: ReadonlyArray<RouteAst>;\n    }\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/AST.ts",
            "start": {
              "line": 424,
              "column": 1
            },
            "end": {
              "line": 588,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export type RouteAst = RouteAst.Path | RouteAst.Transform | RouteAst.Join;",
      "export declare namespace RouteAst {\n    interface Path {\n        type: \"path\";\n        path: PathAst;\n    }\n    interface Transform {\n        type: \"transform\";\n        from: RouteAst;\n        to: Top;\n        transformation: Transformation<any, any, any, any>;\n    }\n    interface Join {\n        type: \"join\";\n        parts: ReadonlyArray<RouteAst>;\n    }\n}"
    ],
    "typeParameters": [],
    "summary": "The union of path, schema-transform, and joined route nodes.",
    "sections": {
      "Why": "Route composition preserves transformations instead of flattening them into an untyped string.",
      "Ownership and lifetime": "`RouteAst` describes plain readonly AST data. Routes and Matchers retain the concrete nodes they receive by reference; the type itself owns no resource."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 422,
          "column": 1
        },
        "end": {
          "line": 422,
          "column": 75
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 424,
          "column": 1
        },
        "end": {
          "line": 588,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Path syntax"
  }
}
