# PivotWriterModule (@salmonui/pivot-table)

> The PivotWriterModule interface of @salmonui/pivot-table: The loaded pivot writer module (the pivot subpath of the

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

```ts
import type { PivotWriterModule } 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 PivotWriterModule {
    exportPivot(source: unknown, options?: Record<string, unknown>, handlers?: Record<string, unknown>): Promise<{
        readonly fileName: string;
        readonly mimeType: string;
        readonly data: Uint8Array | string | Blob;
    } | null>;
}
```

The loaded pivot writer module (the `pivot` subpath of the

- `@salmonui` /export package).

Members (1):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `exportPivot` | `exportPivot(source: unknown, options?: Record<string, unknown>, handlers?: Record<string, unknown>): Promise<{     readonly fileName: string;     readonly mimeType: string;     readonly data: Uint8Array \| string \| Blob; } \| null>;` |  |  |
