# PivotExportFile (@salmonui/pivot-table)

> The PivotExportFile interface of @salmonui/pivot-table: A written export file (api.exportToExcel() and friends resolve with it; null when cancelled).

Canonical: https://salmonui.dev/docs/reference/pivot-table/PivotExportFile

```ts
import type { PivotExportFile } from '@salmonui/pivot-table';
```

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

## Reference

Kind: interface

```ts
interface PivotExportFile {
    readonly fileName: string;
    readonly mimeType: string;
    readonly data: Uint8Array | string | Blob;
}
```

A written export file (`api.exportToExcel()` and friends resolve with it; null when cancelled).

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `fileName` | `readonly fileName: string;` |  |  |
| `mimeType` | `readonly mimeType: string;` |  |  |
| `data` | `readonly data: Uint8Array \| string \| Blob;` |  |  |
