# AggregatesState (@salmonui/data-grid/engine)

> The AggregatesState interface of @salmonui/data-grid/engine.

Canonical: https://salmonui.dev/docs/reference/data-grid/engine/AggregatesState

```ts
import type { AggregatesState } from '@salmonui/data-grid/engine';
```

Also exported from `@salmonui/data-grid/engine/aggregates`.

Entry index: https://salmonui.dev/docs/reference/data-grid/engine (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid/engine.md).

## Reference

Kind: interface

```ts
interface AggregatesState {
    readonly aggregates: readonly AggregateInput[];
    readonly scope: AggregateScope;
}
```

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `aggregates` | `readonly aggregates: readonly AggregateInput[];` |  |  |
| `scope` | `readonly scope: AggregateScope;` |  |  |
