# layout

Constructs a Match AST boundary around a parameter-aware layout.

## Signatures

```ts
export declare const layout: (matches: ReadonlyArray<MatchAst>, layout: LayoutType<any, any, any, any, any, any, any>) => MatchAst.Layout;
```

## Why

Layout ownership and nesting remain explicit in the compiled matcher tree.

## Ownership and lifetime

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