# SerializedBinaryPriorityQueue

Defined in: [packages/heap/src/serialization/families/priority-queue.ts:37](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/heap/src/serialization/families/priority-queue.ts#L37)

A plain, inert snapshot of a binary priority queue: the internal entry array as `[key, value]` tuples, in exact internal heap order. Values are unique across the array; duplicate keys are as legal as on a live queue.

## Type Parameters

### K

`K`

### V

`V`

## Properties

### schemaVersion

> `readonly` **schemaVersion**: `1`

Defined in: [packages/heap/src/serialization/families/priority-queue.ts:39](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/heap/src/serialization/families/priority-queue.ts#L39)

Wire-schema version.

***

### kind

> `readonly` **kind**: `"binary-priority-queue-min"` | `"binary-priority-queue-max"`

Defined in: [packages/heap/src/serialization/families/priority-queue.ts:41](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/heap/src/serialization/families/priority-queue.ts#L41)

The storage layout and extraction direction to restore.

***

### entries

> `readonly` **entries**: readonly (readonly \[`K`, `V`])\[]

Defined in: [packages/heap/src/serialization/families/priority-queue.ts:43](https://github.com/jkomyno/knotkit/blob/ef04dc6fd5182dca281abddf3e1dcb13118c15a4/packages/heap/src/serialization/families/priority-queue.ts#L43)

The internal entries as `[key, value]` tuples, in exact internal heap order.
