{
  "id": "@typed/router/AST#RouteAst.Transform",
  "canonicalId": "@typed/router/AST#RouteAst.Transform",
  "symbol": {
    "id": "@typed/router/AST#RouteAst.Transform",
    "packageName": "@typed/router",
    "moduleName": "AST",
    "exportName": "RouteAst.Transform",
    "kind": "interface",
    "signatures": [
      "interface Transform {\n    type: \"transform\";\n    from: RouteAst;\n    to: Top;\n    transformation: Transformation<any, any, any, any>;\n}"
    ],
    "summary": "A Route AST node carrying an Effect Schema transformation.",
    "sections": {
      "Why": "Schema-backed parameters can change decoded types while retaining their encoded route shape.",
      "Ownership and lifetime": "`Transform` describes plain readonly AST data. Routes and Matchers retain the concrete nodes they receive by reference; the type itself owns no resource.",
      "Property: from": "The encoded Route AST consumed by a schema transformation.",
      "Property: from: Why": "The executor can decode from the path-shaped representation before producing the transformed type.",
      "Property: from: Ownership and lifetime": "`RouteAst.Transform` retains the encoded child Route AST by reference for later schema\nprojection and decoding.",
      "Property: to": "The target Effect Schema for transformed route parameters.",
      "Property: to: Why": "The route carries the exact decoded type and its service requirements.",
      "Property: to: Ownership and lifetime": "The containing `Transform` node retains its `to` Schema by reference; services are acquired only when that Schema runs.",
      "Property: transformation": "The Effect Schema transformation applied to route parameters.",
      "Property: transformation: Why": "Decode and encode behavior, errors, and service requirements remain in the schema contract.",
      "Property: transformation: Ownership and lifetime": "The transformation object is retained by reference. Any services it requires are acquired by\nthe Effect that later runs the derived Schema.",
      "Property: type": "The discriminant identifying this AST variant.",
      "Property: type: Why": "Exhaustive switches can interpret syntax without instanceof checks or hidden classes."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/router/src/AST.ts",
      "line": 483
    },
    "since": "1.0.0",
    "category": "Route structure"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/router/AST#RouteAst.Transform",
    "packageName": "@typed/router",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": "AST",
    "consumerSpecifier": "@typed/router/AST",
    "exportName": "RouteAst",
    "qualifiedName": "RouteAst.Transform",
    "declarationKey": "declaration:f4cd82590d1f3b102e09bba3",
    "family": "interface",
    "signatures": [
      "interface Transform {\n    type: \"transform\";\n    from: RouteAst;\n    to: Top;\n    transformation: Transformation<any, any, any, any>;\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 483,
          "column": 3
        },
        "end": {
          "line": 542,
          "column": 4
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 512,
          "column": 5
        },
        "end": {
          "line": 512,
          "column": 20
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 526,
          "column": 5
        },
        "end": {
          "line": 526,
          "column": 13
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 541,
          "column": 5
        },
        "end": {
          "line": 541,
          "column": 56
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 497,
          "column": 5
        },
        "end": {
          "line": 497,
          "column": 23
        }
      }
    ],
    "aliases": [],
    "isAlias": false,
    "parentId": "@typed/router/AST#RouteAst",
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:f4cd82590d1f3b102e09bba3",
    "name": "Transform",
    "family": "interface",
    "facets": [
      {
        "family": "interface",
        "syntaxKind": "InterfaceDeclaration",
        "signatures": [
          "interface Transform {\n    type: \"transform\";\n    from: RouteAst;\n    to: Top;\n    transformation: Transformation<any, any, any, any>;\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/AST.ts",
            "start": {
              "line": 483,
              "column": 3
            },
            "end": {
              "line": 542,
              "column": 4
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "from: RouteAst;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/AST.ts",
            "start": {
              "line": 512,
              "column": 5
            },
            "end": {
              "line": 512,
              "column": 20
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "to: Top;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/AST.ts",
            "start": {
              "line": 526,
              "column": 5
            },
            "end": {
              "line": 526,
              "column": 13
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "transformation: Transformation<any, any, any, any>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/AST.ts",
            "start": {
              "line": 541,
              "column": 5
            },
            "end": {
              "line": 541,
              "column": 56
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "type: \"transform\";"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/router/src/AST.ts",
            "start": {
              "line": 497,
              "column": 5
            },
            "end": {
              "line": 497,
              "column": 23
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "interface Transform {\n    type: \"transform\";\n    from: RouteAst;\n    to: Top;\n    transformation: Transformation<any, any, any, any>;\n}"
    ],
    "typeParameters": [],
    "summary": "A Route AST node carrying an Effect Schema transformation.",
    "sections": {
      "Why": "Schema-backed parameters can change decoded types while retaining their encoded route shape.",
      "Ownership and lifetime": "`Transform` describes plain readonly AST data. Routes and Matchers retain the concrete nodes they receive by reference; the type itself owns no resource.",
      "Property: from": "The encoded Route AST consumed by a schema transformation.",
      "Property: from: Why": "The executor can decode from the path-shaped representation before producing the transformed type.",
      "Property: from: Ownership and lifetime": "`RouteAst.Transform` retains the encoded child Route AST by reference for later schema\nprojection and decoding.",
      "Property: to": "The target Effect Schema for transformed route parameters.",
      "Property: to: Why": "The route carries the exact decoded type and its service requirements.",
      "Property: to: Ownership and lifetime": "The containing `Transform` node retains its `to` Schema by reference; services are acquired only when that Schema runs.",
      "Property: transformation": "The Effect Schema transformation applied to route parameters.",
      "Property: transformation: Why": "Decode and encode behavior, errors, and service requirements remain in the schema contract.",
      "Property: transformation: Ownership and lifetime": "The transformation object is retained by reference. Any services it requires are acquired by\nthe Effect that later runs the derived Schema.",
      "Property: type": "The discriminant identifying this AST variant.",
      "Property: type: Why": "Exhaustive switches can interpret syntax without instanceof checks or hidden classes."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 483,
          "column": 3
        },
        "end": {
          "line": 542,
          "column": 4
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 512,
          "column": 5
        },
        "end": {
          "line": 512,
          "column": 20
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 526,
          "column": 5
        },
        "end": {
          "line": 526,
          "column": 13
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 541,
          "column": 5
        },
        "end": {
          "line": 541,
          "column": 56
        }
      },
      {
        "file": "packages/router/src/AST.ts",
        "start": {
          "line": 497,
          "column": 5
        },
        "end": {
          "line": 497,
          "column": 23
        }
      }
    ],
    "since": "1.0.0",
    "category": "Route structure"
  }
}
