# PivotExportHeader (@salmonui/export/pivot)

> The PivotExportHeader interface of @salmonui/export/pivot: A header node (PivotHeaderNode).

Canonical: https://salmonui.dev/docs/reference/export/pivot/PivotExportHeader

```ts
import type { PivotExportHeader } from '@salmonui/export/pivot';
```

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

## Reference

Kind: interface

```ts
interface PivotExportHeader {
    readonly key: string;
    readonly kind: 'member' | 'subtotal' | 'grandTotal' | 'value';
    readonly path: readonly JsonLike[];
    readonly field: string | null;
    readonly measure: string | null;
    readonly label: string;
    readonly depth: number;
    readonly position: number;
    readonly span: number;
    readonly children?: readonly PivotExportHeader[];
}
```

A header node (`PivotHeaderNode`).

Members (10):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `key` | `readonly key: string;` |  |  |
| `kind` | `readonly kind: 'member' \| 'subtotal' \| 'grandTotal' \| 'value';` |  |  |
| `path` | `readonly path: readonly JsonLike[];` |  |  |
| `field` | `readonly field: string \| null;` |  |  |
| `measure` | `readonly measure: string \| null;` |  |  |
| `label` | `readonly label: string;` |  |  |
| `depth` | `readonly depth: number;` |  |  |
| `position` | `readonly position: number;` |  |  |
| `span` | `readonly span: number;` |  |  |
| `children` | `readonly children?: readonly PivotExportHeader[];` | optional |  |
