> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eco.com/llms.txt
> Use this file to discover all available pages before exploring further.

# actions: Emission

> Emission: 5 exports of the actions module of @eco-incorp/sauce, including newEmitter, Emitter, Expr, Fragment, Stmt.

`@eco-incorp/sauce/actions` lowers routing intents into Sauce programs and carries the AMM and bridge action primitives.

```typescript theme={null}
import { actionsToSauce } from "@eco-incorp/sauce/actions";
```

This page covers `actions/dist/emit.d.ts`.

<Note>
  Generated from the type declarations shipped in `@eco-incorp/sauce` 0.99.4. Each entry shows the package authors' JSDoc and declaration for this SDK version. For runtime compatibility and deployed addresses, see [architecture and deployments](/programmable-transactions/sauce/architecture-and-deployments).
</Note>

### `newEmitter`

*Function* · `actions/dist/emit.d.ts`

```typescript theme={null}
export declare function newEmitter(): Emitter;
```

### `Emitter`

*Interface* · `actions/dist/emit.d.ts`

Allocates identifiers that are unique within one generated program.

```typescript theme={null}
export interface Emitter {
    name(prefix: string): string;
}
```

### `Expr`

*Type* · `actions/dist/emit.d.ts`

A SauceScript expression.

```typescript theme={null}
export type Expr = string;
```

### `Fragment`

*Interface* · `actions/dist/emit.d.ts`

Statements that must run first, plus the expression they leave available.

```typescript theme={null}
export interface Fragment {
    readonly stmts: readonly Stmt[];
    readonly expr: Expr;
}
```

### `Stmt`

*Type* · `actions/dist/emit.d.ts`

A SauceScript statement, including its trailing `;`.

```typescript theme={null}
export type Stmt = string;
```
