# ExportStream (@salmonui/data-grid/engine/export-server)

> The ExportStream interface of @salmonui/data-grid/engine/export-server: A started export: name, type, download headers, and the bytes as an async iterable.

Canonical: https://salmonui.dev/docs/reference/data-grid/engine-export-server/ExportStream

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

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

## Reference

Kind: interface

```ts
interface ExportStream {
    readonly fileName: string;
    readonly mimeType: string;
    readonly headers: Readonly<Record<string, string>>;
    readonly chunks: AsyncIterable<Uint8Array>;
}
```

A started export: name, type, download headers, and the bytes as an async iterable.

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `fileName` | `readonly fileName: string;` |  |  |
| `mimeType` | `readonly mimeType: string;` |  |  |
| `headers` | `readonly headers: Readonly<Record<string, string>>;` |  |  |
| `chunks` | `readonly chunks: AsyncIterable<Uint8Array>;` |  |  |
