# transform

Constructs a schema-transforming Route AST node.

## Signatures

```ts
export declare const transform: (from: RouteAst, to: Top, transformation: Transformation<any, any, any, any>) => RouteAst.Transform;
```

## Why

The encoded route shape and decoded Effect Schema type remain linked.

## Ownership and lifetime

`transform` returns a fresh plain AST node immediately and retains any supplied child nodes or arrays by reference; it acquires no external resource.
