# TypeScript plugin SDK

This page shows how to write a Bookclerk plugin in TypeScript with
`@bookclerk/plugin-sdk` (`api_version = 3`). A TypeScript plugin runs in
a workerd isolate; `bookclerk-workerd` injects the SDK into the isolate
under its package name, so your module imports it like any dependency.

| Import | What it holds |
| --- | --- |
| `@bookclerk/plugin-sdk/workerd` | `BookclerkEntrypoint` and the named `*Entrypoint` bases (they extend `WorkerEntrypoint`) |
| `@bookclerk/plugin-sdk` | The ABI types, codecs and the same author classes |
| `@bookclerk/plugin-sdk/sparse-workerd` | Run a workerd plugin without a built host (`smoke`) |

## Install

Depend on the package from npm, a `file:` path or a workspace. Never
import a relative path to the embed; the module name is what the host
injects.

```json
{
  "dependencies": {
    "@bookclerk/plugin-sdk": "file:../../packages/plugin-sdk"
  }
}
```

## Author model

A plugin is a Workers-shaped module. The **default export** extends
`BookclerkEntrypoint` and implements the triggers `plugin.toml` declares;
every **named entrypoint** in `entrypoints = [...]` is an exported class
with the matching name (`storefront` → `Storefront`, `cli` → `Cli`, …)
extending its base:

| `plugin.toml` | Export | Base class |
| --- | --- | --- |
| `[[events.consumers]]` | `default` | `BookclerkEntrypoint.event(batch)` |
| `[triggers] jobs = [...]` | `default` | `BookclerkEntrypoint.job(job)` |
| `[triggers] crons = [...]` | `default` | `BookclerkEntrypoint.scheduled(controller)` |
| `[[databases]]` | `default` | `BookclerkEntrypoint.databaseMigrations(binding)` |
| `entrypoints = ["storefront"]` | `Storefront` | `StorefrontEntrypoint` |
| `entrypoints = ["storage"]` | `Storage` | `StorageEntrypoint` |
| `entrypoints = ["remoteLibrary"]` | `RemoteLibrary` | `RemoteLibraryEntrypoint` |
| `entrypoints = ["databaseAdapter"]` | `DatabaseAdapter` | `DatabaseAdapterEntrypoint` |
| `entrypoints = ["cli"]` | `Cli` | `CliEntrypoint` |
| `entrypoints = ["oidc"]` | `Oidc` | `OidcEntrypoint` |
| `entrypoints = ["metadata"]` | `Metadata` | `MetadataEntrypoint` |
| `entrypoints = ["covers"]` | `Covers` | `CoverEntrypoint` |
| `entrypoints = ["metadataFiles"]` | `MetadataFiles` | `MetadataFilesEntrypoint` |
| `entrypoints = ["notifier"]` | `Notifier` | `NotifierEntrypoint` |
| `entrypoints = ["ingress"]` | `Ingress` | `IngressEntrypoint` |
| `entrypoints = ["ai"]` | `Ai` | `AiEntrypoint` |

```ts
import {
  BookclerkEntrypoint,
  CliEntrypoint,
  cliArgs,
  jsonPayload,
  type CliInvokeParams,
  type EventBatch,
} from "@bookclerk/plugin-sdk/workerd";
import type { Env } from "./bookclerk-configuration.js";

export class Cli extends CliEntrypoint<Env> {
  async describe() {
    return { commands: [{ name: "ping", about: "Probe", args: [] }] };
  }
  async invoke(params: CliInvokeParams) {
    const { message = "hi" } = cliArgs(params);
    return { exitCode: 0, stdout: `pong: ${message}\n`, stderr: "", payload: jsonPayload({ pong: message }) };
  }
}

export default class MyPlugin extends BookclerkEntrypoint<Env> {
  async event(batch: EventBatch) {
    for (const msg of batch.messages) {
      if (msg.type !== "book_acquired") {
        msg.reject(`unexpected ${msg.type}`);
        continue;
      }
      await this.env.EVENTS.publish({ eventType: "echo_seen", payload: msg.body });
      msg.ack();
    }
  }
}
```

Identity (`apiVersion`, `id`, capabilities) comes from `plugin.toml`; an
optional `describe()` on the default export only refines `displayName`
and similar fields.

A database adapter runs each host batch through `executeAdapterBatch` or
`executeAdapterBatchStreamed`, which stores the guest's replay receipt
before `COMMIT` and, for a streamed reply, rolls back when the frames do
not fit one scalar or the adapter's advertised streamed budget
(`executeStreamLimits(caps)`) (see
[Isolate adapter batches](/docs/plugins/sql-contract/v1/index.md#isolate-adapter-batches-and-replay-receipts)).

## Triggers

- `event(batch)` mirrors Workers `queue(batch)`. Each `EventMessage`
  records exactly one outcome, `ack()`, `retry({ retryAt | delaySeconds,
  reason })`, `reject(reason)`, `deadLetter(reason)` or `suspend({
  checkpoint, wakeAt, wakeOnEventType, wakeOnFilter })`, and the first
  call wins. Untouched messages ack when the handler returns and retry
  when it throws.
- `job(job)` mirrors Workers `scheduled(controller)`. Return (optionally
  `{ message, bytesCopied }`) to complete, throw to reject
  (`unavailable` and `deadline_exceeded` errors are retryable,
  `cancelled` is cancelled), or call `job.suspend({ checkpoint, wakeAt
  })` or `job.retryLater({ retryAt, reason })`. `job.input`,
  `job.output`, `job.progress()` and `job.signal` expose the granted
  streams and host cancellation.

## The `env` bindings

The host grants bindings per invocation on `this.env`: `CONFIG` (`[vars]`
plus operator settings), `SECRETS` (`[secrets]`), `EVENTS`
(`[[events.producers]]`), `WORK_FS` (`[work_fs]`), and one
`DatabaseBinding` per `[[databases]]` entry under its `binding` name.
A binding's `limits()` returns the `DbCapabilities` its session negotiated
(`maxRequestBytes`, `maxStatements`, `maxResultBytes`, `maxResultRows`,
…); a request or result over one of them rejects with a `PluginError`
whose `code` is `limit_exceeded` and whose `limit` names the cap. On a
host that predates `limits()` the call rejects with `unsupported`.
`all()` reads through the session's streamed budget when it advertises
one, `prepare(sql).iterate()` yields rows one at a time from the same
read, `db.chunk(statements)` splits a long list into batches that each
fit one request, and `db.writeChunks(...)` commits those batches
resumably; see
[Working within database limits](/docs/plugins/database-limits/index.md).
A storefront's `scan` can hand its paging to `scanPage(params, fetch)`,
which slices the store's own pages into replies the host accepts; see
[Paged scans](/docs/plugins/abi/index.md#paged-scans).
A relay [`[ingress]`](/docs/plugins/manifest/index.md#ingress-public-address) plugin also
gets `ORIGIN` while it is the active ingress; `ORIGIN.fetch(request, {
clientAddress })` hands one request to the library (see
[Public addresses](/docs/plugins/abi/index.md#public-addresses-ingress)).
Generate the `Env` type from `plugin.toml`:

```bash
npx bookclerk-plugin types .            # writes bookclerk-configuration.d.ts
npx bookclerk-plugin types . --out src/env.d.ts
```

## Pushed sockets

A plugin that declares `[sockets]` (see
[Pushed sockets](/docs/plugins/abi/index.md#pushed-sockets-sockets)) gets
`this.env.SOCKETS`, shaped like Durable Objects' hibernatable WebSockets.
The host holds the connection, so the plugin may sleep between messages,
and each message reaches the default entrypoint's `webSocketMessage`:

```ts
export default class Plugin extends BookclerkEntrypoint<Env> {
  async scheduled() {
    if ((await this.env.SOCKETS.getWebSockets()).length > 0) return;
    await this.env.SOCKETS.connect("wss://abs.example.com/socket.io/?EIO=4&transport=websocket", {
      headers: { Authorization: `Bearer ${this.env.SECRETS.token}` },
      autoResponses: [{ request: "2", response: "3" }], // answered without waking the plugin
      attachment: { library: "main" },
    });
  }

  async webSocketMessage(ws: HostWebSocket, message: string | ArrayBuffer) {
    const { library } = ws.deserializeAttachment() as { library: string };
    // …
  }

  async webSocketClose(ws: HostWebSocket, code: number, reason: string, wasClean: boolean) {}
}
```

Text arrives as a `string` and binary as an `ArrayBuffer`. `ws.send`,
`ws.close` and `ws.serializeAttachment` act on the host's socket; the
attachment is JSON of at most 2 KiB, kept for the socket's life, so the
handler doesn't depend on memory a restart would lose. Without a
`webSocketMessage` handler the host is told the plugin has none; without
`webSocketClose`, closes are ignored.

A remote library whose message announced a new user returns
`{ pollEvents: true }` from `webSocketMessage`, and the host calls
`pollEvents` right away instead of at its next scheduled poll.

## Inbound webhooks

A plugin that declares `[[webhooks]]` (see
[Inbound webhooks](/docs/plugins/abi/index.md#inbound-webhooks-webhooks)) gets
`this.env.WEBHOOKS`, read like a pulled Workers Queue. Hand `url(name)` to
the outside service, then pull what it sent:

```ts
export default class Plugin extends BookclerkEntrypoint<Env> {
  async scheduled() {
    const { messages, missed } = await this.env.WEBHOOKS.pull("events", { batchSize: 50 });
    if (missed) await this.relist(); // requests expired unread: resynchronize
    for (const message of messages) {
      await this.handle(JSON.parse(new TextDecoder().decode(message.body)));
    }
    await this.env.WEBHOOKS.ack("events", { acks: messages.map((m) => m.leaseId) });
  }

  // Optional: called on a running plugin as soon as a request is stored.
  async webhookDelivered({ name, waiting }: WebhookDeliveredEvent) {}
}
```

`url` resolves to `null` when the library has no public `https` address or
webhooks are off. Each message has `leaseId`, `timestamp` (a `Date`),
`attempts`, `headers` (lowercase names) and `body` (`Uint8Array`); leases
not acknowledged in time come back on a later pull.

## Network grant

`this.env.NETWORK` is the grant in effect (see
[Network grant](/docs/plugins/abi/index.md#network-grant-envnetwork)). A setting whose
destination still awaits approval shows `state: "pending"`, and a refused
`fetch()` answers `403` with an `x-bookclerk-error: network_not_granted`
header:

```ts
const row = this.env.NETWORK?.settings.find((s) => s.key === "server_url");
if (row?.state === "pending") {
  throw new Error(`Approve ${row.destination} on the plugin's consent form`);
}
const res = await fetch(`${this.env.CONFIG.server_url}/api/libraries`);
if (res.headers.get("x-bookclerk-error") === "network_not_granted") {
  // The grant does not cover it: report it, don't retry.
}
```

## Testing database code

`createTestDatabase()` from `@bookclerk/plugin-sdk/testkit` gives a
Node test suite the same binding a host grants, served by the
`bookclerk-db-testkit` executable under one capability profile with the
plugin's `databaseMigrations` applied. `bookclerk-plugin test .` runs the
suite once per profile (`first-party`, `d1` and `minimum`), so code that
passes on the shipped adapters is also proven against D1's caps and the
smallest advertisement a host accepts:

```ts
import { createTestDatabase } from "@bookclerk/plugin-sdk/testkit";

const db = await createTestDatabase({ migrations: MIGRATIONS }); // profile from `bookclerk-plugin test`
try {
  await addNotes(db.binding, ["hello"]);
} finally {
  await db.close();
}
```

The `echo_workerd_ts` example (`examples/plugins-echo-workerd-ts/`) is a
worked plugin: a `notes` table it writes with `chunk()`, lists with
`iterate()` or key-paged reads, sizes with `limits()`, and tests under
every profile. See
[Testing against the limits](/docs/plugins/database-limits/index.md#testing-against-the-limits).

## Author tools

```bash
npx bookclerk-plugin check .
npx bookclerk-plugin types [dir] [--out <file>]
npx bookclerk-plugin fmt [--check] plugin.toml
npx bookclerk-plugin package --out dist/plugins .
npx bookclerk-plugin smoke .   # download the pinned workerd, then describe + health
```

`check` enforces the v3 author model: the main module imports the SDK,
does not reference the removed `BookclerkPlugin` base, and exports one
class per named entrypoint.

`smoke` does not need a built `bookclerk-workerd`. It downloads the
pinned Cloudflare `workerd` into `~/.cache/bookclerk/workerd` (override
with `BOOKCLERK_WORKERD_CACHE` or `BOOKCLERK_WORKERD_BIN`).

## Next steps

- [plugin.toml](/docs/plugins/manifest/index.md): declare the entrypoints and
  triggers the classes above implement.
- [Entrypoints, events and the ABI](/docs/plugins/abi/index.md): every method and
  event in detail.
- [Try the Echo example](/docs/plugins/index.md#try-the-echo-example): a
  complete TypeScript plugin under `examples/`.

## Reference

The sections below are generated from the SDK's source: one page per
module, and what the package root exports.

## Modules

`@bookclerk/plugin-sdk` — ABI types + workerd author runtime + tools.

Package root re-exports the workerd [BookclerkEntrypoint](/docs/plugins/sdk/typescript/plugin/index.md#bookclerkentrypoint) base, the
named `*Entrypoint` bases, and the camelCase ABI types from `generated.ts`.
Prefer the dedicated subpath imports when writing guests:

- Workerd: `import { BookclerkEntrypoint } from "@bookclerk/plugin-sdk/workerd"`
- Native:  Rust `serve` / `PluginWorker`
- Tools: `npx bookclerk-plugin check|fmt|types|package`
- Sparse workerd: `import { runSmoke } from "@bookclerk/plugin-sdk/sparse-workerd"`

See `docs/plugins/README.md` and `docs/contributing/code-documentation.md`.

- [abi](/docs/plugins/sdk/typescript/abi/index.md)
- [cli](/docs/plugins/sdk/typescript/cli/index.md)
- [db-execute](/docs/plugins/sdk/typescript/db-execute/index.md)
- [db-value](/docs/plugins/sdk/typescript/db-value/index.md)
- [env](/docs/plugins/sdk/typescript/env/index.md)
- [generated](/docs/plugins/sdk/typescript/generated/index.md)
- [plugin](/docs/plugins/sdk/typescript/plugin/index.md)
- [sparse-workerd](/docs/plugins/sdk/typescript/sparse-workerd/index.md)
- [testkit](/docs/plugins/sdk/typescript/testkit/index.md)
- [workerd](/docs/plugins/sdk/typescript/workerd/index.md)

## Classes

### ExecuteStreamDecoder

Sans-IO decoder of a streamed execute reply: feed it bytes in any split,
then take the reassembled [ExecuteReply](/docs/plugins/sdk/typescript/db-execute/index.md#executereply).

It fails closed on more raw bytes than the budget allows, on a statement
with more rows than the row cap, and on any frame out of sequence.

#### Constructors

##### Constructor

```ts
new ExecuteStreamDecoder(limits, options?): ExecuteStreamDecoder;
```

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `limits` | [`ExecuteStreamLimits`](#executestreamlimits) | Budget the stream is held to. |
| `options?` | \{ `retainRows?`: `boolean`; \} | `retainRows: false` counts rows against the budget but drops them from the collected reply (for `iterate()`). |
| `options.retainRows?` | `boolean` | - |

###### Returns

[`ExecuteStreamDecoder`](#executestreamdecoder)

#### Accessors

##### columns

###### Get Signature

```ts
get columns(): DbColumn[];
```

Columns of the statement whose rows are arriving.

###### Returns

[`DbColumn`](/docs/plugins/sdk/typescript/generated/index.md#dbcolumn)[]

The open statement's columns, or an empty list between statements.

##### finished

###### Get Signature

```ts
get finished(): boolean;
```

Whether the final frame (`end` or `err`) has been decoded.

###### Returns

`boolean`

True once the stream is complete.

#### Methods

##### finish()

```ts
finish(): ExecuteReply;
```

Takes the reassembled reply once the stream has ended.

###### Returns

[`ExecuteReply`](/docs/plugins/sdk/typescript/db-execute/index.md#executereply)

The reply the frames described.

###### Throws

The adapter's `PluginError` when the stream ended with `err`, and
  `unavailable` when it ended before its final frame.

##### push()

```ts
push(bytes): ExecuteStreamFrame[];
```

Feeds the next bytes of the stream.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `bytes` | `Uint8Array` | Any slice of the frame sequence. |

###### Returns

[`ExecuteStreamFrame`](/docs/plugins/sdk/typescript/generated/index.md#executestreamframe)[]

The frames completed by these bytes, in order.

###### Throws

`PluginError` `limit_exceeded` when the stream exceeds the byte
  or row budget, `invalid_params` when a frame is malformed or out of
  sequence or bytes follow the final frame.

***

### PluginError

Thrown by the SDK when a wire union carries `err`. Unknown codes are kept.

#### Extends

- `Error`

#### Extended by

- [`WriteChunksError`](/docs/plugins/sdk/typescript/db-execute/index.md#writechunkserror)
- [`InvokeError`](/docs/plugins/sdk/typescript/workerd/index.md#invokeerror)

#### Constructors

##### Constructor

```ts
new PluginError(
   code, 
   message, 
   details?
): PluginError;
```

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `code` | `string` | Wire error code. |
| `message` | `string` | Operator-facing error text. |
| `details?` | `string` \| `Readonly`\<`Record`\<`string`, `unknown`\>\> | Detail object, or its JSON text as carried on the wire. |

###### Returns

[`PluginError`](#pluginerror)

###### Overrides

`Error.constructor`

#### Properties

##### code

```ts
readonly code: string;
```

Known `PluginErrorCode` wire string, or `unknown`.

##### details

```ts
readonly details: Readonly<Record<string, unknown>> | undefined;
```

Structured detail object from the wire (`details` JSON), when the error carries one.

##### wireCode

```ts
readonly wireCode: string;
```

Raw wire code, including codes this SDK does not know.

#### Accessors

##### detailsText

###### Get Signature

```ts
get detailsText(): string;
```

`details` as the JSON text the wire carries.

###### Returns

`string`

JSON object text, or an empty string when the error has none.

##### limit

###### Get Signature

```ts
get limit(): LimitExceeded | undefined;
```

The exceeded cap when this is a `limit_exceeded` error.

###### Returns

[`LimitExceeded`](#limitexceeded-1) \| `undefined`

The cap from `details` first, then from the canonical message;
`undefined` for every other code.

#### Methods

##### fromWire()

```ts
static fromWire(
   code, 
   message, 
   details?
): PluginError;
```

Construct a [PluginError](#pluginerror) from a Cap'n Proto / JSON wire code.

Unknown codes become `unknown` on [PluginError.code](#code) while
[PluginError.wireCode](#wirecode) keeps the raw value.

###### Parameters

| Parameter | Type | Default value | Description |
| ------ | ------ | ------ | ------ |
| `code` | `string` | `undefined` | Wire error code (known or unknown). |
| `message` | `string` | `undefined` | Operator-facing error text. |
| `details?` | `string` | `""` | `details` JSON text from the wire (empty when none). |

###### Returns

[`PluginError`](#pluginerror)

Typed plugin error.

##### limitExceeded()

```ts
static limitExceeded(limit): PluginError;
```

Builds a `limit_exceeded` error whose message and `details` both carry
the exceeded cap.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `limit` | [`LimitExceeded`](#limitexceeded-1) | Exceeded cap. |

###### Returns

[`PluginError`](#pluginerror)

Typed plugin error.

## Interfaces

### AdapterBatchOptions

Options shared by the batch runners.

#### Extended by

- [`AdapterBatchStreamedOptions`](#adapterbatchstreamedoptions)

#### Properties

##### timingSource

```ts
timingSource: string;
```

Observability source on the reply timing (for example `sqlite_txn`).

***

### AdapterBatchRequest

The parts of an `AdapterExecuteRequest` the batch runner reads.

#### Properties

##### operationId

```ts
operationId: string;
```

Host-chosen idempotency key, echoed on the reply and keyed on the receipt.

##### receipt

```ts
receipt: AdapterReceipt;
```

Receipt hint; `guestLen` `0` means the batch carries no guest receipt.

##### statements

```ts
statements: AdapterBatchStatement[];
```

Wrapped statements in execution order (proofs are not read).

***

### AdapterBatchStreamedOptions

Options of [executeAdapterBatchStreamed](#executeadapterbatchstreamed).

#### Extends

- [`AdapterBatchOptions`](#adapterbatchoptions)

#### Properties

##### limits

```ts
limits: ExecuteStreamLimits;
```

The streamed budget this adapter advertises
(`executeStreamLimits(caps)`); the host decodes the reply under it.

##### timingSource

```ts
timingSource: string;
```

Observability source on the reply timing (for example `sqlite_txn`).

###### Inherited from

[`AdapterBatchOptions`](#adapterbatchoptions).[`timingSource`](#timingsource)

***

### AdapterTransaction

One open transaction on the adapter's engine.

The runner calls `run` once per statement in order, including the finalize
statements it adds (canonical SQL with `?` placeholders, lowered by the
adapter like any other statement), then `commit`, or `rollback` when any
step failed.

#### Methods

##### commit()

```ts
commit(): Promise<void>;
```

Commits the transaction.

###### Returns

`Promise`\<`void`\>

Resolves once the batch is durable.

##### rollback()

```ts
rollback(): Promise<void>;
```

Rolls the transaction back.

###### Returns

`Promise`\<`void`\>

Resolves once nothing of the batch remains.

##### run()

```ts
run(statement): Promise<StatementResult>;
```

Runs one statement inside the transaction.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `statement` | [`AdapterBatchStatement`](#adapterbatchstatement) | Canonical statement to lower and execute. |

###### Returns

`Promise`\<[`StatementResult`](/docs/plugins/sdk/typescript/db-execute/index.md#statementresult)\>

The statement's result (rows only when `resultSelection` is `rows`).

***

### ExecuteStreamLimits

What a receiver lets a streamed reply grow to.

#### Properties

##### bytesLimit

```ts
bytesLimit: "maxStreamedResultBytes" | "maxAtomicResultBytes";
```

Capability field `maxBytes` came from, for the error it raises.

##### maxBytes

```ts
maxBytes: number;
```

Encoded reply budget in bytes (`0` = only the framing slack).

##### maxRows

```ts
maxRows: number;
```

Rows one statement may return (`0` = unlimited).

##### rowsLimit

```ts
rowsLimit: "maxStreamedResultRows" | "maxResultRows";
```

Capability field `maxRows` came from, for the error it raises.

***

### LimitExceeded

A negotiated SQL-v1 cap that a request or its result exceeded
(`limit_exceeded` errors).

#### Properties

##### cap

```ts
cap: number;
```

The negotiated cap.

##### limit

```ts
limit: string;
```

Capability field name as advertised (`maxResultBytes`, `maxRequestBytes`, ...).

##### used

```ts
used: number;
```

The observed value that exceeded `cap`.

***

### OriginBinding

`env.ORIGIN`: the library as a relay `ingress` plugin reaches it. The host
serves each request on public `https` (never as loopback) with the client
address the plugin reports.

#### Methods

##### fetch()

```ts
fetch(request, options?): Promise<Response>;
```

Serves one request through the library.

Only the path and query of `request.url` are sent; the library answers
on its own public origin. Connection headers (`connection`, `upgrade`,
...) and forwarding headers (`host`, `x-forwarded-*`, `forwarded`,
`x-real-ip`) are dropped.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `request` | `Request` | The request the provider delivered. |
| `options?` | [`OriginFetchOptions`](#originfetchoptions) | The client address, when the provider reports one. |

###### Returns

`Promise`\<`Response`\>

The library's response; its body streams.

###### Throws

`invalid_params` for a request the host refuses
  (bad method, target or headers past `maxOriginHeaders` /
  `maxOriginHeaderBytes`); `unavailable` when the library cannot serve.

***

### OriginFetchOptions

Options for one [OriginBinding.fetch](#fetch).

#### Properties

##### clientAddress?

```ts
clientAddress?: string;
```

IP address of the client from the provider's own connection metadata
(for example `cf-connecting-ip` on a Cloudflare relay). Omit it when the
provider gives none; never take it from a header the client controls.

***

### OriginTransport

The adapter's origin grant, as the author isolate reaches it. Never
throws: every failure comes back as `err`.

#### Methods

##### fetch()

```ts
fetch(head, body): Promise<OriginTransportReply>;
```

Hand one request to the library.

###### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `head` | [`OriginRequest`](/docs/plugins/sdk/typescript/generated/index.md#originrequest) | Method, origin-form target, header fields and client address. |
| `body` | `ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\> \| `null` | Request body; `null` when the request has none. |

###### Returns

`Promise`\<[`OriginTransportReply`](#origintransportreply)\>

The library's response or a typed failure.

***

### OriginTransportResponse

One library response as the transport hands it to the author isolate.

#### Extends

- `OriginResponseHead`

#### Properties

##### body

```ts
body: ReadableStream<Uint8Array<ArrayBufferLike>> | null;
```

Response body; `null` when the response has none.

##### headers

```ts
headers: OriginHeader[];
```

Response header fields in order; repeated names stay separate.

###### Inherited from

`OriginResponseHead.headers`

##### status

```ts
status: number;
```

HTTP status code, 100 to 599.

###### Inherited from

`OriginResponseHead.status`

***

### StorePage

One page of a storefront's own library listing, as the plugin fetched it.

#### Properties

##### books

```ts
books: ScanBook[];
```

Titles on this store page, in the store's order; any number of them.

##### complete?

```ts
complete?: boolean;
```

On the last store page: whether the pass listed every title the account
holds (a full pass). Ignored on earlier pages.

##### next?

```ts
next?: string;
```

The storefront's own cursor for the store page after this one; empty or
absent when this is the last store page.

##### removed?

```ts
removed?: string[];
```

Product ids gone from the account since `ScanParams.syncToken`, on a
delta pass only; any number of them.

##### storePages?

```ts
storePages?: number;
```

Storefront requests this fetch took; 1 when absent.

##### syncToken?

```ts
syncToken?: string;
```

On the last store page: the token the host sends as
`ScanParams.syncToken` on the account's next pass. Ignored on earlier
pages.

## Type Aliases

### AdapterBatchStatement

```ts
type AdapterBatchStatement = Pick<AdapterStatement, "sql" | "parameters" | "kind" | "maxRows" | "resultSelection">;
```

The parts of an [AdapterStatement](/docs/plugins/sdk/typescript/generated/index.md#adapterstatement) an adapter executes.

***

### FetchStorePage

```ts
type FetchStorePage = (storeCursor, params) => Promise<StorePage>;
```

Fetches one store page.

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `storeCursor` | `string` | The storefront's own cursor: empty for the first store page of a pass, otherwise a [StorePage.next](#next) it returned. |
| `params` | [`ScanParams`](/docs/plugins/sdk/typescript/generated/index.md#scanparams) | The scan call's params (account, credential, sync token). |

#### Returns

`Promise`\<[`StorePage`](#storepage)\>

That store page.

***

### OriginTransportReply

```ts
type OriginTransportReply = 
  | {
  ok: OriginTransportResponse;
}
  | {
  err: {
     code: string;
     message: string;
  };
};
```

One transport answer: the library's response, or a typed failure.

## Variables

### GUEST\_READ\_ONLY\_REPLAY\_PAYLOAD

```ts
const GUEST_READ_ONLY_REPLAY_PAYLOAD: "{\"readOnly\":true}" = '{"readOnly":true}';
```

Payload stored for a read-only guest batch instead of its rows: reads are
not gated, so they run again on replay and need no recorded result.

***

### GUEST\_RECEIPT\_CLAIM\_LOST

```ts
const GUEST_RECEIPT_CLAIM_LOST: "guest receipt claimed by a concurrent attempt; retry to replay it" = "guest receipt claimed by a concurrent attempt; retry to replay it";
```

`unavailable` message when a concurrent attempt committed the receipt
between this attempt's prior-receipt `SELECT` and its stub `INSERT`.

***

### GUEST\_RECEIPT\_RESULT\_LOST

```ts
const GUEST_RECEIPT_RESULT_LOST: "guest receipt committed without payload; original response lost" = "guest receipt committed without payload; original response lost";
```

Error text when a receipt committed but the reply it should hold was lost.

***

### GUEST\_RECEIPT\_STUB\_SUFFIX

```ts
const GUEST_RECEIPT_STUB_SUFFIX: 1 = 1;
```

Receipt stub `INSERT` after the guest statements.

***

### GUEST\_RECEIPT\_WRAP\_PREFIX

```ts
const GUEST_RECEIPT_WRAP_PREFIX: 2 = 2;
```

Prune + prior-receipt `SELECT` statements ahead of the guest statements.

***

### GUEST\_REPLAY\_PAYLOAD\_MAX\_BYTES

```ts
const GUEST_REPLAY_PAYLOAD_MAX_BYTES: 65536 = 65536;
```

Largest replay payload, in UTF-8 bytes, a receipt stores for a write batch.

***

### STREAM\_FRAME\_TARGET\_BYTES

```ts
const STREAM_FRAME_TARGET_BYTES: number;
```

Encoded size an encoder aims for per `rows` frame (one wider row may exceed it).

## Functions

### collectExecuteStream()

```ts
function collectExecuteStream(chunks, limits): Promise<ExecuteReply>;
```

Collects an async chunk source into one reply under `limits`.

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `chunks` | `AsyncIterable`\<`Uint8Array`\<`ArrayBufferLike`\>\> | Frame bytes as the transport delivers them. |
| `limits` | [`ExecuteStreamLimits`](#executestreamlimits) | Budget the stream is held to. |

#### Returns

`Promise`\<[`ExecuteReply`](/docs/plugins/sdk/typescript/db-execute/index.md#executereply)\>

The reassembled reply.

***

### decodeExecuteStream()

```ts
function decodeExecuteStream(bytes, limits): ExecuteReply;
```

Decodes a whole frame sequence under `limits`.

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `bytes` | `Uint8Array` | Every frame, concatenated. |
| `limits` | [`ExecuteStreamLimits`](#executestreamlimits) | Budget the stream is held to. |

#### Returns

[`ExecuteReply`](/docs/plugins/sdk/typescript/db-execute/index.md#executereply)

The reassembled reply.

#### Throws

See [ExecuteStreamDecoder.push](#push) and [ExecuteStreamDecoder.finish](#finish).

***

### encodeExecuteStream()

```ts
function encodeExecuteStream(
   reply, 
   frameTargetBytes?, 
   maxBytes?
): Uint8Array;
```

Frames `reply` as the byte sequence `executeStreamed` answers: `head`,
each statement with its rows split near `frameTargetBytes`, then `end`. A
slice whose frame still exceeds one scalar is halved until each frame fits
or holds one row.

#### Parameters

| Parameter | Type | Default value | Description |
| ------ | ------ | ------ | ------ |
| `reply` | [`ExecuteReply`](/docs/plugins/sdk/typescript/db-execute/index.md#executereply) | `undefined` | The committed reply. |
| `frameTargetBytes?` | `number` | `STREAM_FRAME_TARGET_BYTES` | Estimated encoded size to aim for per `rows` frame. |
| `maxBytes?` | `number` | `Number.POSITIVE_INFINITY` | Stop as soon as the frames pass this many bytes. |

#### Returns

`Uint8Array`

Every frame, concatenated.

#### Throws

`PluginError` `limit_exceeded` (`maxScalarBytes`) when the frames
  pass `maxBytes`.

***

### executeAdapterBatch()

```ts
function executeAdapterBatch(
   request, 
   begin, 
   options
): Promise<ExecuteReply>;
```

Runs one host batch in a transaction and commits it with its replay receipt.

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `request` | [`AdapterBatchRequest`](#adapterbatchrequest) | The adapter request (`execute`). |
| `begin` | () => `Promise`\<[`AdapterTransaction`](#adaptertransaction)\> | Opens a transaction on the adapter's engine. |
| `options` | [`AdapterBatchOptions`](#adapterbatchoptions) | Timing source. |

#### Returns

`Promise`\<[`ExecuteReply`](/docs/plugins/sdk/typescript/db-execute/index.md#executereply)\>

The committed reply, wrap statements included (the host unwraps it).

#### Throws

Whatever a statement, the finalize or `commit` raised, after the
  transaction was rolled back; `PluginError` `unavailable` when a prior
  receipt committed without its reply.

***

### executeAdapterBatchStreamed()

```ts
function executeAdapterBatchStreamed(
   request, 
   begin, 
   options
): Promise<Uint8Array<ArrayBufferLike>>;
```

Runs one host batch for `executeStreamed` and commits it only when the
host can receive its frames.

The frames are encoded inside the transaction. Encoding stops with
`limit_exceeded` (`maxScalarBytes`) as soon as they pass one invoke
scalar, the finished frames are decoded under `options.limits` the way
the host decodes them, and the reassembled reply's encoded size is held to
`options.limits.maxBytes` the way the host validates it (the decoder alone
allows framing slack past the budget). Any failure rolls the batch back,
so nothing commits that the host would refuse.

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `request` | [`AdapterBatchRequest`](#adapterbatchrequest) | The adapter request (`executeStreamed`). |
| `begin` | () => `Promise`\<[`AdapterTransaction`](#adaptertransaction)\> | Opens a transaction on the adapter's engine. |
| `options` | [`AdapterBatchStreamedOptions`](#adapterbatchstreamedoptions) | Timing source and the advertised streamed budget. |

#### Returns

`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>

Every frame of the committed reply, concatenated.

#### Throws

`PluginError` `limit_exceeded` when the frames do not fit one
  scalar or the budget, or whatever [executeAdapterBatch](#executeadapterbatch) throws.

***

### executeStreamLimits()

```ts
function executeStreamLimits(caps): ExecuteStreamLimits;
```

The streamed budget of `caps`, or its inline caps when the session does
not stream.

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `caps` | [`DbCapabilities`](/docs/plugins/sdk/typescript/generated/index.md#dbcapabilities) | Session capabilities (`limits()`). |

#### Returns

[`ExecuteStreamLimits`](#executestreamlimits)

Limits for an [ExecuteStreamDecoder](#executestreamdecoder).

***

### guestBatchIsReadOnly()

```ts
function guestBatchIsReadOnly(statements, guestLen): boolean;
```

True when every guest statement inside the receipt wrap is a `SELECT`.

An empty or out-of-range guest slice is not read-only, so a write batch
never skips its replay payload.

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `statements` | readonly `Pick`\<[`AdapterBatchStatement`](#adapterbatchstatement), `"kind"`\>[] | The wrapped statements. |
| `guestLen` | `number` | Guest statement count from the receipt hint. |

#### Returns

`boolean`

Whether the batch only reads.

***

### guestReceiptFinalizeStatements()

```ts
function guestReceiptFinalizeStatements(
   partial, 
   guestLen, 
   guestHash, 
   readOnly
): AdapterBatchStatement[];
```

Statements that persist the guest reply on the claimed receipt.

Empty when the prior receipt already holds a payload, belongs to a
different request (the host reports the conflict), or is an in-flight
claim whose stub this attempt did not insert.

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `partial` | [`ExecuteReply`](/docs/plugins/sdk/typescript/db-execute/index.md#executereply) | The wrapped reply so far (prefix, guest and stub results). |
| `guestLen` | `number` | Guest statement count from the receipt hint. |
| `guestHash` | `string` | Guest `requestHash` from the receipt hint. |
| `readOnly` | `boolean` | Whether the guest slice only reads ([guestBatchIsReadOnly](#guestbatchisreadonly)). |

#### Returns

[`AdapterBatchStatement`](#adapterbatchstatement)[]

The finalize statements to run before `COMMIT`.

#### Throws

`PluginError` `unavailable` when a prior receipt committed without
  its reply, `internal` when the wrap shape is malformed or the payload is
  over [GUEST\_REPLAY\_PAYLOAD\_MAX\_BYTES](#guest_replay_payload_max_bytes).

***

### guestReplayPayload()

```ts
function guestReplayPayload(reply): string;
```

The replay payload for a guest reply: the JSON envelope the host decodes,
`{"operation_id", "statements", "timing"}` with each value in the host's
serde form.

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `reply` | [`ExecuteReply`](/docs/plugins/sdk/typescript/db-execute/index.md#executereply) | The guest slice of the reply. |

#### Returns

`string`

The payload text.

#### Throws

`PluginError` `internal` when a cell does not encode or the
  payload is over [GUEST\_REPLAY\_PAYLOAD\_MAX\_BYTES](#guest_replay_payload_max_bytes).

***

### limitExceededMessage()

```ts
function limitExceededMessage(limit): string;
```

Canonical message for a limit error: `limit exceeded: maxResultBytes is 262144; used 300000`.

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `limit` | [`LimitExceeded`](#limitexceeded-1) | Exceeded cap. |

#### Returns

`string`

Message text the host and every SDK parse back with [parseLimitExceeded](#parselimitexceeded).

***

### parseLimitExceeded()

```ts
function parseLimitExceeded(message): LimitExceeded | undefined;
```

Parses a message produced by [limitExceededMessage](#limitexceededmessage), possibly wrapped
in further text.

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `message` | `string` | Error text. |

#### Returns

[`LimitExceeded`](#limitexceeded-1) \| `undefined`

The exceeded cap, or `undefined` when the text is not a limit error.

***

### rawStreamCeiling()

```ts
function rawStreamCeiling(limits): number;
```

Raw frame bytes a receiver accepts before failing closed: the reply budget
plus one eighth for frame headers and one window of slack.

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `limits` | [`ExecuteStreamLimits`](#executestreamlimits) | Budget. |

#### Returns

`number`

Byte ceiling on the whole frame sequence and on any one frame.

***

### requirePluginMigrationRegistration()

```ts
function requirePluginMigrationRegistration(migrations): PluginMigration[];
```

Rejects a plugin migration registration that exceeds ABI resource limits.

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `migrations` | [`PluginMigration`](/docs/plugins/sdk/typescript/generated/index.md#pluginmigration)[] | Ordered `databaseMigrations` registration. |

#### Returns

[`PluginMigration`](/docs/plugins/sdk/typescript/generated/index.md#pluginmigration)[]

The same array when within limits.

#### Throws

Error with `code` / `wireCode` `payload_too_large` when a limit is exceeded.

***

### runAdapterBatch()

```ts
function runAdapterBatch(
   request, 
   txn, 
   options
): Promise<ExecuteReply>;
```

Runs the wrapped statements and the receipt finalize on an open
transaction, without committing.

After the prior-receipt `SELECT`, a completed receipt for this operation
skips the remaining guest work (its results are padded so the wrap shape
stays intact) and the host replays the stored reply.

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `request` | [`AdapterBatchRequest`](#adapterbatchrequest) | The adapter request. |
| `txn` | `Pick`\<[`AdapterTransaction`](#adaptertransaction), `"run"`\> | The open transaction. |
| `options` | [`AdapterBatchOptions`](#adapterbatchoptions) | Timing source. |

#### Returns

`Promise`\<[`ExecuteReply`](/docs/plugins/sdk/typescript/db-execute/index.md#executereply)\>

The reply to deliver once the transaction commits.

#### Throws

`PluginError` `unavailable` when a prior receipt committed without
  its reply, `internal` when the wrap shape is malformed or the payload is
  over [GUEST\_REPLAY\_PAYLOAD\_MAX\_BYTES](#guest_replay_payload_max_bytes), `invalid_params` when a
  result cell is not a valid `DbValue`, or whatever `run` threw.

***

### scanPage()

```ts
function scanPage(params, fetchStorePage): Promise<ScanPage>;
```

Answers one `scan` call from the storefront's own pages.

Fetches the store page `params.cursor` names and returns at most
`MAX_SCAN_PAGE_BOOKS` of its titles and removed ids. A store page larger
than that is returned over several calls, each fetching it again. The pass
ends on the last slice of the store page whose [StorePage.next](#next) is
empty, which carries that page's `syncToken` and `complete`.

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `params` | [`ScanParams`](/docs/plugins/sdk/typescript/generated/index.md#scanparams) | The scan call's params. |
| `fetchStorePage` | [`FetchStorePage`](#fetchstorepage) | Fetches one store page. |

#### Returns

`Promise`\<[`ScanPage`](/docs/plugins/sdk/typescript/generated/index.md#scanpage)\>

The reply for this call.

#### Example

```ts
scan(params: ScanParams): Promise<ScanPage> {
  return scanPage(params, async (storeCursor) => {
    const page = Number(storeCursor || "1");
    const listing = await this.library(params.accountId, page);
    return {
      books: listing.items.map(toScanBook),
      next: listing.hasMore ? String(page + 1) : "",
      complete: true,
    };
  });
}
```

#### Throws

[PluginError](#pluginerror) `invalid_cursor` when the cursor was not
  written by this helper or no longer fits the store page (the store
  changed mid-pass), so the host restarts the pass; `internal` when a
  store cursor is too long for a scan cursor.

***

### shouldSkipRemainingGuestWork()

```ts
function shouldSkipRemainingGuestWork(
   results, 
   total, 
   guestHash
): boolean;
```

True when the prefix results show a completed prior receipt, so the guest
statements must not run again.

An in-flight claim with the same hash and a read-only receipt with the
same hash do not skip; a receipt with a different hash does (the host
reports the conflict).

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `results` | readonly [`StatementResult`](/docs/plugins/sdk/typescript/db-execute/index.md#statementresult)[] | Results so far. |
| `total` | `number` | Wrapped statement count. |
| `guestHash` | `string` | Guest `requestHash` from the receipt hint. |

#### Returns

`boolean`

Whether to pad the remaining results instead of running them.

***

### streamsResults()

```ts
function streamsResults(caps): boolean;
```

True when `caps` advertises a streamed result budget.

#### Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `caps` | [`DbCapabilities`](/docs/plugins/sdk/typescript/generated/index.md#dbcapabilities) | Session capabilities (`limits()`). |

#### Returns

`boolean`

Whether `executeStreamed` is worth calling on this session.

## References

### Abridgement

Re-exports [Abridgement](/docs/plugins/sdk/typescript/abi/index.md#abridgement)

***

### AccountCredential

Re-exports [AccountCredential](/docs/plugins/sdk/typescript/generated/index.md#accountcredential)

***

### AdapterDatabaseSession

Re-exports [AdapterDatabaseSession](/docs/plugins/sdk/typescript/plugin/index.md#adapterdatabasesession)

***

### AdapterEnv

Re-exports [AdapterEnv](/docs/plugins/sdk/typescript/plugin/index.md#adapterenv)

***

### AdapterExecuteRequest

Re-exports [AdapterExecuteRequest](/docs/plugins/sdk/typescript/generated/index.md#adapterexecuterequest)

***

### AdapterReceipt

Re-exports [AdapterReceipt](/docs/plugins/sdk/typescript/generated/index.md#adapterreceipt)

***

### AdapterSessionReply

Re-exports [AdapterSessionReply](/docs/plugins/sdk/typescript/generated/index.md#adaptersessionreply)

***

### AdapterStatement

Re-exports [AdapterStatement](/docs/plugins/sdk/typescript/generated/index.md#adapterstatement)

***

### AiBinding

Re-exports [AiBinding](/docs/plugins/sdk/typescript/env/index.md#aibinding)

***

### AiEmbedText

Re-exports [AiEmbedText](/docs/plugins/sdk/typescript/generated/index.md#aiembedtext)

***

### AiEntrypoint

Re-exports [AiEntrypoint](/docs/plugins/sdk/typescript/plugin/index.md#aientrypoint)

***

### AiInput

Re-exports [AiInput](/docs/plugins/sdk/typescript/generated/index.md#aiinput)

***

### AiModel

Re-exports [AiModel](/docs/plugins/sdk/typescript/generated/index.md#aimodel)

***

### AiModelList

Re-exports [AiModelList](/docs/plugins/sdk/typescript/generated/index.md#aimodellist)

***

### AiModels

Re-exports [AiModels](/docs/plugins/sdk/typescript/generated/index.md#aimodels)

***

### AiModelsReply

Re-exports [AiModelsReply](/docs/plugins/sdk/typescript/generated/index.md#aimodelsreply)

***

### AiOutput

Re-exports [AiOutput](/docs/plugins/sdk/typescript/generated/index.md#aioutput)

***

### AiRunner

Re-exports [AiRunner](/docs/plugins/sdk/typescript/generated/index.md#airunner)

***

### AiRunOk

Re-exports [AiRunOk](/docs/plugins/sdk/typescript/generated/index.md#airunok)

***

### AiRunParams

Re-exports [AiRunParams](/docs/plugins/sdk/typescript/generated/index.md#airunparams)

***

### AiRunReply

Re-exports [AiRunReply](/docs/plugins/sdk/typescript/generated/index.md#airunreply)

***

### AiTask

Re-exports [AiTask](/docs/plugins/sdk/typescript/abi/index.md#aitask)

***

### AiTextEmbeddingsInput

Re-exports [AiTextEmbeddingsInput](/docs/plugins/sdk/typescript/generated/index.md#aitextembeddingsinput)

***

### AiTextEmbeddingsOutput

Re-exports [AiTextEmbeddingsOutput](/docs/plugins/sdk/typescript/generated/index.md#aitextembeddingsoutput)

***

### AiTextEmbeddingsRequest

Re-exports [AiTextEmbeddingsRequest](/docs/plugins/sdk/typescript/env/index.md#aitextembeddingsrequest)

***

### AiTextEmbeddingsResponse

Re-exports [AiTextEmbeddingsResponse](/docs/plugins/sdk/typescript/env/index.md#aitextembeddingsresponse)

***

### AiTextRole

Re-exports [AiTextRole](/docs/plugins/sdk/typescript/abi/index.md#aitextrole)

***

### allowedEntrypointFamilies

Re-exports [allowedEntrypointFamilies](/docs/plugins/sdk/typescript/plugin/index.md#allowedentrypointfamilies)

***

### AtomicTransport

Re-exports [AtomicTransport](/docs/plugins/sdk/typescript/db-execute/index.md#atomictransport)

***

### AuthenticateUserParams

Re-exports [AuthenticateUserParams](/docs/plugins/sdk/typescript/generated/index.md#authenticateuserparams)

***

### AuthorStub

Re-exports [AuthorStub](/docs/plugins/sdk/typescript/plugin/index.md#authorstub)

***

### Bindings

Re-exports [Bindings](/docs/plugins/sdk/typescript/generated/index.md#bindings)

***

### BookclerkEntrypoint

Re-exports [BookclerkEntrypoint](/docs/plugins/sdk/typescript/plugin/index.md#bookclerkentrypoint)

***

### BookclerkEnv

Re-exports [BookclerkEnv](/docs/plugins/sdk/typescript/env/index.md#bookclerkenv)

***

### Brand

Re-exports [Brand](/docs/plugins/sdk/typescript/generated/index.md#brand)

***

### ByteRange

Re-exports [ByteRange](/docs/plugins/sdk/typescript/generated/index.md#byterange)

***

### ByteSource

Re-exports [ByteSource](/docs/plugins/sdk/typescript/generated/index.md#bytesource)

***

### Cancellation

Re-exports [Cancellation](/docs/plugins/sdk/typescript/generated/index.md#cancellation)

***

### CancelledOutcome

Re-exports [CancelledOutcome](/docs/plugins/sdk/typescript/generated/index.md#cancelledoutcome)

***

### CancelWatchLike

Re-exports [CancelWatchLike](/docs/plugins/sdk/typescript/plugin/index.md#cancelwatchlike)

***

### canonicalExecuteRequestHash

Re-exports [canonicalExecuteRequestHash](/docs/plugins/sdk/typescript/db-execute/index.md#canonicalexecuterequesthash)

***

### CatalogCapabilities

Re-exports [CatalogCapabilities](/docs/plugins/sdk/typescript/generated/index.md#catalogcapabilities)

***

### CatalogDetail

Re-exports [CatalogDetail](/docs/plugins/sdk/typescript/generated/index.md#catalogdetail)

***

### CatalogDetailParams

Re-exports [CatalogDetailParams](/docs/plugins/sdk/typescript/generated/index.md#catalogdetailparams)

***

### CatalogDetailReply

Re-exports [CatalogDetailReply](/docs/plugins/sdk/typescript/generated/index.md#catalogdetailreply)

***

### CatalogField

Re-exports [CatalogField](/docs/plugins/sdk/typescript/abi/index.md#catalogfield)

***

### CatalogHit

Re-exports [CatalogHit](/docs/plugins/sdk/typescript/generated/index.md#cataloghit)

***

### CatalogHits

Re-exports [CatalogHits](/docs/plugins/sdk/typescript/generated/index.md#cataloghits)

***

### CatalogHitsReply

Re-exports [CatalogHitsReply](/docs/plugins/sdk/typescript/generated/index.md#cataloghitsreply)

***

### CatalogSort

Re-exports [CatalogSort](/docs/plugins/sdk/typescript/abi/index.md#catalogsort)

***

### ChangesPage

Re-exports [ChangesPage](/docs/plugins/sdk/typescript/plugin/index.md#changespage)

***

### ChangesReply

Re-exports [ChangesReply](/docs/plugins/sdk/typescript/generated/index.md#changesreply)

***

### ChangesRequest

Re-exports [ChangesRequest](/docs/plugins/sdk/typescript/plugin/index.md#changesrequest)

***

### ChapterKind

Re-exports [ChapterKind](/docs/plugins/sdk/typescript/abi/index.md#chapterkind)

***

### ChapterMarker

Re-exports [ChapterMarker](/docs/plugins/sdk/typescript/generated/index.md#chaptermarker)

***

### Checkpoint

Re-exports [Checkpoint](/docs/plugins/sdk/typescript/plugin/index.md#checkpoint-4)

***

### chunkIndexes

Re-exports [chunkIndexes](/docs/plugins/sdk/typescript/db-execute/index.md#chunkindexes)

***

### CliArg

Re-exports [CliArg](/docs/plugins/sdk/typescript/generated/index.md#cliarg)

***

### CliArgKind

Re-exports [CliArgKind](/docs/plugins/sdk/typescript/abi/index.md#cliargkind)

***

### cliArgs

Re-exports [cliArgs](/docs/plugins/sdk/typescript/plugin/index.md#cliargs)

***

### CliArgSpec

Re-exports [CliArgSpec](/docs/plugins/sdk/typescript/generated/index.md#cliargspec)

***

### CliCommandSpec

Re-exports [CliCommandSpec](/docs/plugins/sdk/typescript/generated/index.md#clicommandspec)

***

### CliEntrypoint

Re-exports [CliEntrypoint](/docs/plugins/sdk/typescript/plugin/index.md#clientrypoint)

***

### CliInvokeParams

Re-exports [CliInvokeParams](/docs/plugins/sdk/typescript/generated/index.md#cliinvokeparams)

***

### CliInvokeReply

Re-exports [CliInvokeReply](/docs/plugins/sdk/typescript/generated/index.md#cliinvokereply)

***

### CliInvokeResult

Re-exports [CliInvokeResult](/docs/plugins/sdk/typescript/generated/index.md#cliinvokeresult)

***

### CliSchema

Re-exports [CliSchema](/docs/plugins/sdk/typescript/generated/index.md#clischema)

***

### CliSchemaReply

Re-exports [CliSchemaReply](/docs/plugins/sdk/typescript/generated/index.md#clischemareply)

***

### ColumnReference

Re-exports [ColumnReference](/docs/plugins/sdk/typescript/generated/index.md#columnreference)

***

### CompletedOutcome

Re-exports [CompletedOutcome](/docs/plugins/sdk/typescript/generated/index.md#completedoutcome)

***

### ConfigOption

Re-exports [ConfigOption](/docs/plugins/sdk/typescript/generated/index.md#configoption)

***

### ConfigOptionValue

Re-exports [ConfigOptionValue](/docs/plugins/sdk/typescript/generated/index.md#configoptionvalue)

***

### ContentSource

Re-exports [ContentSource](/docs/plugins/sdk/typescript/generated/index.md#contentsource)

***

### CopyReply

Re-exports [CopyReply](/docs/plugins/sdk/typescript/generated/index.md#copyreply)

***

### CopyResult

Re-exports [CopyResult](/docs/plugins/sdk/typescript/plugin/index.md#copyresult)

***

### CoverCondition

Re-exports [CoverCondition](/docs/plugins/sdk/typescript/generated/index.md#covercondition)

***

### CoverEntrypoint

Re-exports [CoverEntrypoint](/docs/plugins/sdk/typescript/plugin/index.md#coverentrypoint)

***

### CoverFetcher

Re-exports [CoverFetcher](/docs/plugins/sdk/typescript/generated/index.md#coverfetcher)

***

### CoverFetchParams

Re-exports [CoverFetchParams](/docs/plugins/sdk/typescript/generated/index.md#coverfetchparams)

***

### CoverImage

Re-exports [CoverImage](/docs/plugins/sdk/typescript/generated/index.md#coverimage)

***

### CoverImages

Re-exports [CoverImages](/docs/plugins/sdk/typescript/generated/index.md#coverimages)

***

### CoverImagesReply

Re-exports [CoverImagesReply](/docs/plugins/sdk/typescript/generated/index.md#coverimagesreply)

***

### createDatabaseBinding

Re-exports [createDatabaseBinding](/docs/plugins/sdk/typescript/db-execute/index.md#createdatabasebinding)

***

### CreateTableSchema

Re-exports [CreateTableSchema](/docs/plugins/sdk/typescript/generated/index.md#createtableschema)

***

### Credit

Re-exports [Credit](/docs/plugins/sdk/typescript/generated/index.md#credit)

***

### CreditLevel

Re-exports [CreditLevel](/docs/plugins/sdk/typescript/abi/index.md#creditlevel)

***

### CreditRole

Re-exports [CreditRole](/docs/plugins/sdk/typescript/abi/index.md#creditrole)

***

### D1ExecResult

Re-exports [D1ExecResult](/docs/plugins/sdk/typescript/db-execute/index.md#d1execresult)

***

### D1Meta

Re-exports [D1Meta](/docs/plugins/sdk/typescript/db-execute/index.md#d1meta)

***

### D1Result

Re-exports [D1Result](/docs/plugins/sdk/typescript/db-execute/index.md#d1result)

***

### Database

Re-exports [Database](/docs/plugins/sdk/typescript/generated/index.md#database)

***

### DatabaseAdapterConfig

Re-exports [DatabaseAdapterConfig](/docs/plugins/sdk/typescript/generated/index.md#databaseadapterconfig)

***

### DatabaseAdapterEntrypoint

Re-exports [DatabaseAdapterEntrypoint](/docs/plugins/sdk/typescript/plugin/index.md#databaseadapterentrypoint)

***

### DatabaseBinding

Re-exports [DatabaseBinding](/docs/plugins/sdk/typescript/db-execute/index.md#databasebinding)

***

### DatabaseBindingOptions

Re-exports [DatabaseBindingOptions](/docs/plugins/sdk/typescript/db-execute/index.md#databasebindingoptions)

***

### dataMigrationOp

Re-exports [dataMigrationOp](/docs/plugins/sdk/typescript/plugin/index.md#datamigrationop)

***

### DbBootstrap

Re-exports [DbBootstrap](/docs/plugins/sdk/typescript/generated/index.md#dbbootstrap)

***

### DbBootstrapReply

Re-exports [DbBootstrapReply](/docs/plugins/sdk/typescript/generated/index.md#dbbootstrapreply)

***

### DbCapabilities

Re-exports [DbCapabilities](/docs/plugins/sdk/typescript/generated/index.md#dbcapabilities)

***

### DbCapabilitiesReply

Re-exports [DbCapabilitiesReply](/docs/plugins/sdk/typescript/generated/index.md#dbcapabilitiesreply)

***

### DbColumn

Re-exports [DbColumn](/docs/plugins/sdk/typescript/db-execute/index.md#dbcolumn)

***

### DbResultSelection

Re-exports [DbResultSelection](/docs/plugins/sdk/typescript/abi/index.md#dbresultselection)

***

### DbRow

Re-exports [DbRow](/docs/plugins/sdk/typescript/db-execute/index.md#dbrow)

***

### DbStatement

Re-exports [DbStatement](/docs/plugins/sdk/typescript/generated/index.md#dbstatement)

***

### DbStatementKind

Re-exports [DbStatementKind](/docs/plugins/sdk/typescript/abi/index.md#dbstatementkind)

***

### DbTiming

Re-exports [DbTiming](/docs/plugins/sdk/typescript/db-execute/index.md#dbtiming)

***

### DbType

Re-exports [DbType](/docs/plugins/sdk/typescript/abi/index.md#dbtype)

***

### DbValue

Re-exports [DbValue](/docs/plugins/sdk/typescript/db-value/index.md#dbvalue)

***

### decodeDbCapabilitiesReply

Re-exports [decodeDbCapabilitiesReply](/docs/plugins/sdk/typescript/db-execute/index.md#decodedbcapabilitiesreply)

***

### decodeDbValue

Re-exports [decodeDbValue](/docs/plugins/sdk/typescript/db-value/index.md#decodedbvalue)

***

### decodeExecuteRequest

Re-exports [decodeExecuteRequest](/docs/plugins/sdk/typescript/db-execute/index.md#decodeexecuterequest)

***

### decodeExecuteResultReply

Re-exports [decodeExecuteResultReply](/docs/plugins/sdk/typescript/db-execute/index.md#decodeexecuteresultreply)

***

### decodeExtensibleConfig

Re-exports [decodeExtensibleConfig](/docs/plugins/sdk/typescript/plugin/index.md#decodeextensibleconfig)

***

### DeleteManyReply

Re-exports [DeleteManyReply](/docs/plugins/sdk/typescript/generated/index.md#deletemanyreply)

***

### DeleteManyResult

Re-exports [DeleteManyResult](/docs/plugins/sdk/typescript/generated/index.md#deletemanyresult)

***

### DeliveredCheckpoint

Re-exports [DeliveredCheckpoint](/docs/plugins/sdk/typescript/plugin/index.md#deliveredcheckpoint)

***

### DescribeReply

Re-exports [DescribeReply](/docs/plugins/sdk/typescript/generated/index.md#describereply)

***

### Destination

Re-exports [Destination](/docs/plugins/sdk/typescript/plugin/index.md#destination)

***

### DiagnoseReply

Re-exports [DiagnoseReply](/docs/plugins/sdk/typescript/generated/index.md#diagnosereply)

***

### DiagnoseResult

Re-exports [DiagnoseResult](/docs/plugins/sdk/typescript/generated/index.md#diagnoseresult)

***

### DomainEvent

Re-exports [DomainEvent](/docs/plugins/sdk/typescript/generated/index.md#domainevent)

***

### EmptyReply

Re-exports [EmptyReply](/docs/plugins/sdk/typescript/generated/index.md#emptyreply)

***

### encodeDbCapabilitiesReply

Re-exports [encodeDbCapabilitiesReply](/docs/plugins/sdk/typescript/db-execute/index.md#encodedbcapabilitiesreply)

***

### encodeDbValue

Re-exports [encodeDbValue](/docs/plugins/sdk/typescript/db-value/index.md#encodedbvalue)

***

### encodeExecuteRequest

Re-exports [encodeExecuteRequest](/docs/plugins/sdk/typescript/db-execute/index.md#encodeexecuterequest)

***

### encodeExecuteResultReply

Re-exports [encodeExecuteResultReply](/docs/plugins/sdk/typescript/db-execute/index.md#encodeexecuteresultreply)

***

### Entrypoint

Re-exports [Entrypoint](/docs/plugins/sdk/typescript/abi/index.md#entrypoint)

***

### ENTRYPOINT\_BINDINGS

Re-exports [ENTRYPOINT_BINDINGS](/docs/plugins/sdk/typescript/plugin/index.md#entrypoint_bindings)

***

### ENTRYPOINT\_CLASSES

Re-exports [ENTRYPOINT_CLASSES](/docs/plugins/sdk/typescript/plugin/index.md#entrypoint_classes)

***

### EntrypointName

Re-exports [EntrypointName](/docs/plugins/sdk/typescript/plugin/index.md#entrypointname)

***

### Entrypoints

Re-exports [Entrypoints](/docs/plugins/sdk/typescript/generated/index.md#entrypoints)

***

### EntrypointsReply

Re-exports [EntrypointsReply](/docs/plugins/sdk/typescript/generated/index.md#entrypointsreply)

***

### EventAck

Re-exports [EventAck](/docs/plugins/sdk/typescript/generated/index.md#eventack)

***

### EventBatch

Re-exports [EventBatch](/docs/plugins/sdk/typescript/plugin/index.md#eventbatch)

***

### EventBatchReply

Re-exports [EventBatchReply](/docs/plugins/sdk/typescript/generated/index.md#eventbatchreply)

***

### eventBatchResults

Re-exports [eventBatchResults](/docs/plugins/sdk/typescript/plugin/index.md#eventbatchresults)

***

### EventConsumer

Re-exports [EventConsumer](/docs/plugins/sdk/typescript/generated/index.md#eventconsumer-1)

***

### EventConsumerSpec

Re-exports [EventConsumerSpec](/docs/plugins/sdk/typescript/generated/index.md#eventconsumerspec)

***

### EventDeadLetter

Re-exports [EventDeadLetter](/docs/plugins/sdk/typescript/generated/index.md#eventdeadletter)

***

### EventMessage

Re-exports [EventMessage](/docs/plugins/sdk/typescript/plugin/index.md#eventmessage)

***

### EventOutcome

Re-exports [EventOutcome](/docs/plugins/sdk/typescript/plugin/index.md#eventoutcome)

***

### EventPollReply

Re-exports [EventPollReply](/docs/plugins/sdk/typescript/generated/index.md#eventpollreply)

***

### EventPollResult

Re-exports [EventPollResult](/docs/plugins/sdk/typescript/generated/index.md#eventpollresult)

***

### EventPublisher

Re-exports [EventPublisher](/docs/plugins/sdk/typescript/generated/index.md#eventpublisher)

***

### EventPublisherBinding

Re-exports [EventPublisherBinding](/docs/plugins/sdk/typescript/env/index.md#eventpublisherbinding)

***

### EventReadOptions

Re-exports [EventReadOptions](/docs/plugins/sdk/typescript/env/index.md#eventreadoptions)

***

### EventReadPage

Re-exports [EventReadPage](/docs/plugins/sdk/typescript/generated/index.md#eventreadpage)

***

### EventReadReply

Re-exports [EventReadReply](/docs/plugins/sdk/typescript/generated/index.md#eventreadreply)

***

### EventReadRequest

Re-exports [EventReadRequest](/docs/plugins/sdk/typescript/generated/index.md#eventreadrequest)

***

### EventReject

Re-exports [EventReject](/docs/plugins/sdk/typescript/generated/index.md#eventreject)

***

### EventResult

Re-exports [EventResult](/docs/plugins/sdk/typescript/generated/index.md#eventresult)

***

### EventRetry

Re-exports [EventRetry](/docs/plugins/sdk/typescript/generated/index.md#eventretry)

***

### EventSuspended

Re-exports [EventSuspended](/docs/plugins/sdk/typescript/generated/index.md#eventsuspended)

***

### EventSuspendOptions

Re-exports [EventSuspendOptions](/docs/plugins/sdk/typescript/plugin/index.md#eventsuspendoptions)

***

### ExecuteReply

Re-exports [ExecuteReply](/docs/plugins/sdk/typescript/db-execute/index.md#executereply)

***

### executeReplyToD1Results

Re-exports [executeReplyToD1Results](/docs/plugins/sdk/typescript/db-execute/index.md#executereplytod1results)

***

### ExecuteRequest

Re-exports [ExecuteRequest](/docs/plugins/sdk/typescript/db-execute/index.md#executerequest)

***

### ExecuteResultReply

Re-exports [ExecuteResultReply](/docs/plugins/sdk/typescript/generated/index.md#executeresultreply)

***

### ExecuteStreamFrame

Re-exports [ExecuteStreamFrame](/docs/plugins/sdk/typescript/generated/index.md#executestreamframe)

***

### ExecuteStreamHead

Re-exports [ExecuteStreamHead](/docs/plugins/sdk/typescript/generated/index.md#executestreamhead)

***

### ExecuteStreamReply

Re-exports [ExecuteStreamReply](/docs/plugins/sdk/typescript/generated/index.md#executestreamreply)

***

### ExecuteStreamStatement

Re-exports [ExecuteStreamStatement](/docs/plugins/sdk/typescript/generated/index.md#executestreamstatement)

***

### ExpandCandidatesParams

Re-exports [ExpandCandidatesParams](/docs/plugins/sdk/typescript/generated/index.md#expandcandidatesparams)

***

### Explicitness

Re-exports [Explicitness](/docs/plugins/sdk/typescript/abi/index.md#explicitness)

***

### ExpressionKind

Re-exports [ExpressionKind](/docs/plugins/sdk/typescript/abi/index.md#expressionkind)

***

### ExtensibleConfig

Re-exports [ExtensibleConfig](/docs/plugins/sdk/typescript/generated/index.md#extensibleconfig)

***

### ExternalUser

Re-exports [ExternalUser](/docs/plugins/sdk/typescript/generated/index.md#externaluser)

***

### ExternalUserReply

Re-exports [ExternalUserReply](/docs/plugins/sdk/typescript/generated/index.md#externaluserreply)

***

### FEATURE\_SCALAR\_LIMITS

Re-exports [FEATURE_SCALAR_LIMITS](/docs/plugins/sdk/typescript/abi/index.md#feature_scalar_limits)

***

### FEATURE\_STORAGE\_CHANGES

Re-exports [FEATURE_STORAGE_CHANGES](/docs/plugins/sdk/typescript/abi/index.md#feature_storage_changes)

***

### FEATURE\_STORAGE\_CONDITIONAL\_WRITE

Re-exports [FEATURE_STORAGE_CONDITIONAL_WRITE](/docs/plugins/sdk/typescript/abi/index.md#feature_storage_conditional_write)

***

### FEATURE\_STORAGE\_COPY

Re-exports [FEATURE_STORAGE_COPY](/docs/plugins/sdk/typescript/abi/index.md#feature_storage_copy)

***

### FEATURE\_STORAGE\_DELETE\_MANY

Re-exports [FEATURE_STORAGE_DELETE_MANY](/docs/plugins/sdk/typescript/abi/index.md#feature_storage_delete_many)

***

### FEATURE\_STORAGE\_HEAD\_MANY

Re-exports [FEATURE_STORAGE_HEAD_MANY](/docs/plugins/sdk/typescript/abi/index.md#feature_storage_head_many)

***

### FEATURE\_STORAGE\_MOVE

Re-exports [FEATURE_STORAGE_MOVE](/docs/plugins/sdk/typescript/abi/index.md#feature_storage_move)

***

### FEATURE\_STORAGE\_MOVE\_MANY

Re-exports [FEATURE_STORAGE_MOVE_MANY](/docs/plugins/sdk/typescript/abi/index.md#feature_storage_move_many)

***

### FEATURE\_STREAMS

Re-exports [FEATURE_STREAMS](/docs/plugins/sdk/typescript/abi/index.md#feature_streams)

***

### FetchedFile

Re-exports [FetchedFile](/docs/plugins/sdk/typescript/generated/index.md#fetchedfile)

***

### FetchedFileRole

Re-exports [FetchedFileRole](/docs/plugins/sdk/typescript/abi/index.md#fetchedfilerole)

***

### FetchOptions

Re-exports [FetchOptions](/docs/plugins/sdk/typescript/generated/index.md#fetchoptions)

***

### FetchTitleParams

Re-exports [FetchTitleParams](/docs/plugins/sdk/typescript/generated/index.md#fetchtitleparams)

***

### FetchTitleReply

Re-exports [FetchTitleReply](/docs/plugins/sdk/typescript/generated/index.md#fetchtitlereply)

***

### ForeignKeyConstraint

Re-exports [ForeignKeyConstraint](/docs/plugins/sdk/typescript/generated/index.md#foreignkeyconstraint)

***

### GetOk

Re-exports [GetOk](/docs/plugins/sdk/typescript/generated/index.md#getok)

***

### GetReply

Re-exports [GetReply](/docs/plugins/sdk/typescript/generated/index.md#getreply)

***

### GrantedContext

Re-exports [GrantedContext](/docs/plugins/sdk/typescript/plugin/index.md#grantedcontext)

***

### GrantedDatabaseTransport

Re-exports [GrantedDatabaseTransport](/docs/plugins/sdk/typescript/plugin/index.md#granteddatabasetransport)

***

### GrantedFetcher

Re-exports [GrantedFetcher](/docs/plugins/sdk/typescript/plugin/index.md#grantedfetcher)

***

### GrantedJobCapabilities

Re-exports [GrantedJobCapabilities](/docs/plugins/sdk/typescript/plugin/index.md#grantedjobcapabilities)

***

### GuestDatabase

Re-exports [GuestDatabase](/docs/plugins/sdk/typescript/generated/index.md#guestdatabase)

***

### GuestDatabaseReply

Re-exports [GuestDatabaseReply](/docs/plugins/sdk/typescript/generated/index.md#guestdatabasereply)

***

### HandleReply

Re-exports [HandleReply](/docs/plugins/sdk/typescript/generated/index.md#handlereply)

***

### HeadManyReply

Re-exports [HeadManyReply](/docs/plugins/sdk/typescript/generated/index.md#headmanyreply)

***

### HeadManyResult

Re-exports [HeadManyResult](/docs/plugins/sdk/typescript/generated/index.md#headmanyresult)

***

### HeadOk

Re-exports [HeadOk](/docs/plugins/sdk/typescript/generated/index.md#headok)

***

### HeadReply

Re-exports [HeadReply](/docs/plugins/sdk/typescript/generated/index.md#headreply)

***

### HealthOk

Re-exports [HealthOk](/docs/plugins/sdk/typescript/generated/index.md#healthok)

***

### HealthReply

Re-exports [HealthReply](/docs/plugins/sdk/typescript/generated/index.md#healthreply)

***

### HostWebSocket

Re-exports [HostWebSocket](/docs/plugins/sdk/typescript/env/index.md#hostwebsocket)

***

### Identifier

Re-exports [Identifier](/docs/plugins/sdk/typescript/generated/index.md#identifier)

***

### IdentifierScheme

Re-exports [IdentifierScheme](/docs/plugins/sdk/typescript/abi/index.md#identifierscheme)

***

### IdentityExportReply

Re-exports [IdentityExportReply](/docs/plugins/sdk/typescript/generated/index.md#identityexportreply)

***

### IdentityHighWater

Re-exports [IdentityHighWater](/docs/plugins/sdk/typescript/generated/index.md#identityhighwater)

***

### Ingress

Re-exports [Ingress](/docs/plugins/sdk/typescript/generated/index.md#ingress-1)

***

### IngressEntrypoint

Re-exports [IngressEntrypoint](/docs/plugins/sdk/typescript/plugin/index.md#ingressentrypoint)

***

### IngressHealth

Re-exports [IngressHealth](/docs/plugins/sdk/typescript/generated/index.md#ingresshealth-1)

***

### IngressHealthReply

Re-exports [IngressHealthReply](/docs/plugins/sdk/typescript/generated/index.md#ingresshealthreply)

***

### IngressStarted

Re-exports [IngressStarted](/docs/plugins/sdk/typescript/generated/index.md#ingressstarted)

***

### IngressStartReply

Re-exports [IngressStartReply](/docs/plugins/sdk/typescript/generated/index.md#ingressstartreply)

***

### Instant

Re-exports [Instant](/docs/plugins/sdk/typescript/plugin/index.md#instant)

***

### IntegerArithKind

Re-exports [IntegerArithKind](/docs/plugins/sdk/typescript/abi/index.md#integerarithkind)

***

### IntegerArithSite

Re-exports [IntegerArithSite](/docs/plugins/sdk/typescript/generated/index.md#integerarithsite)

***

### Invocation

Re-exports [Invocation](/docs/plugins/sdk/typescript/generated/index.md#invocation)

***

### invocationOf

Re-exports [invocationOf](/docs/plugins/sdk/typescript/plugin/index.md#invocationof)

***

### IsolationReq

Re-exports [IsolationReq](/docs/plugins/sdk/typescript/abi/index.md#isolationreq)

***

### JobCheckpoint

Re-exports [JobCheckpoint](/docs/plugins/sdk/typescript/plugin/index.md#jobcheckpoint)

***

### JobCompletion

Re-exports [JobCompletion](/docs/plugins/sdk/typescript/plugin/index.md#jobcompletion)

***

### JobController

Re-exports [JobController](/docs/plugins/sdk/typescript/plugin/index.md#jobcontroller)

***

### JobInvocation

Re-exports [JobInvocation](/docs/plugins/sdk/typescript/generated/index.md#jobinvocation)

***

### JobOutcome

Re-exports [JobOutcome](/docs/plugins/sdk/typescript/generated/index.md#joboutcome)

***

### jobOutcomeFor

Re-exports [jobOutcomeFor](/docs/plugins/sdk/typescript/plugin/index.md#joboutcomefor)

***

### JobOutcomeRecord

Re-exports [JobOutcomeRecord](/docs/plugins/sdk/typescript/plugin/index.md#joboutcomerecord)

***

### JobRetryOptions

Re-exports [JobRetryOptions](/docs/plugins/sdk/typescript/plugin/index.md#jobretryoptions)

***

### JobRunner

Re-exports [JobRunner](/docs/plugins/sdk/typescript/generated/index.md#jobrunner-1)

***

### JobRunnerContext

Re-exports [JobRunnerContext](/docs/plugins/sdk/typescript/plugin/index.md#jobrunnercontext)

***

### JobSuspendOptions

Re-exports [JobSuspendOptions](/docs/plugins/sdk/typescript/plugin/index.md#jobsuspendoptions)

***

### JsonObject

Re-exports [JsonObject](/docs/plugins/sdk/typescript/env/index.md#jsonobject)

***

### jsonPayload

Re-exports [jsonPayload](/docs/plugins/sdk/typescript/plugin/index.md#jsonpayload)

***

### KeyOutcome

Re-exports [KeyOutcome](/docs/plugins/sdk/typescript/plugin/index.md#keyoutcome)

***

### KeyPair

Re-exports [KeyPair](/docs/plugins/sdk/typescript/generated/index.md#keypair)

***

### KvDeleteOk

Re-exports [KvDeleteOk](/docs/plugins/sdk/typescript/generated/index.md#kvdeleteok)

***

### KvDeleteReply

Re-exports [KvDeleteReply](/docs/plugins/sdk/typescript/generated/index.md#kvdeletereply)

***

### KvGetOk

Re-exports [KvGetOk](/docs/plugins/sdk/typescript/generated/index.md#kvgetok)

***

### KvGetReply

Re-exports [KvGetReply](/docs/plugins/sdk/typescript/generated/index.md#kvgetreply)

***

### KvListKey

Re-exports [KvListKey](/docs/plugins/sdk/typescript/generated/index.md#kvlistkey)

***

### KvListKeyBinding

Re-exports [KvListKeyBinding](/docs/plugins/sdk/typescript/env/index.md#kvlistkeybinding)

***

### KvListOk

Re-exports [KvListOk](/docs/plugins/sdk/typescript/generated/index.md#kvlistok)

***

### KvListOptions

Re-exports [KvListOptions](/docs/plugins/sdk/typescript/generated/index.md#kvlistoptions)

***

### KvListOptionsBinding

Re-exports [KvListOptionsBinding](/docs/plugins/sdk/typescript/env/index.md#kvlistoptionsbinding)

***

### KvListReply

Re-exports [KvListReply](/docs/plugins/sdk/typescript/generated/index.md#kvlistreply)

***

### KvListResultBinding

Re-exports [KvListResultBinding](/docs/plugins/sdk/typescript/env/index.md#kvlistresultbinding)

***

### KvNamespace

Re-exports [KvNamespace](/docs/plugins/sdk/typescript/generated/index.md#kvnamespace)

***

### KvNamespaceBinding

Re-exports [KvNamespaceBinding](/docs/plugins/sdk/typescript/env/index.md#kvnamespacebinding)

***

### KvPutOk

Re-exports [KvPutOk](/docs/plugins/sdk/typescript/generated/index.md#kvputok)

***

### KvPutOptions

Re-exports [KvPutOptions](/docs/plugins/sdk/typescript/generated/index.md#kvputoptions)

***

### KvPutOptionsBinding

Re-exports [KvPutOptionsBinding](/docs/plugins/sdk/typescript/env/index.md#kvputoptionsbinding)

***

### KvPutReply

Re-exports [KvPutReply](/docs/plugins/sdk/typescript/generated/index.md#kvputreply)

***

### KvValueType

Re-exports [KvValueType](/docs/plugins/sdk/typescript/env/index.md#kvvaluetype)

***

### KvValueWithMetadata

Re-exports [KvValueWithMetadata](/docs/plugins/sdk/typescript/env/index.md#kvvaluewithmetadata)

***

### ListDealsParams

Re-exports [ListDealsParams](/docs/plugins/sdk/typescript/generated/index.md#listdealsparams)

***

### ListeningProgress

Re-exports [ListeningProgress](/docs/plugins/sdk/typescript/generated/index.md#listeningprogress)

***

### ListOptions

Re-exports [ListOptions](/docs/plugins/sdk/typescript/plugin/index.md#listoptions)

***

### ListPage

Re-exports [ListPage](/docs/plugins/sdk/typescript/plugin/index.md#listpage)

***

### ListReply

Re-exports [ListReply](/docs/plugins/sdk/typescript/generated/index.md#listreply)

***

### LoginCompleteParams

Re-exports [LoginCompleteParams](/docs/plugins/sdk/typescript/generated/index.md#logincompleteparams)

***

### LoginParams

Re-exports [LoginParams](/docs/plugins/sdk/typescript/generated/index.md#loginparams)

***

### LoginReply

Re-exports [LoginReply](/docs/plugins/sdk/typescript/generated/index.md#loginreply)

***

### LoginResult

Re-exports [LoginResult](/docs/plugins/sdk/typescript/generated/index.md#loginresult)

***

### LoginStartReply

Re-exports [LoginStartReply](/docs/plugins/sdk/typescript/generated/index.md#loginstartreply)

***

### LoginStartResult

Re-exports [LoginStartResult](/docs/plugins/sdk/typescript/generated/index.md#loginstartresult)

***

### MAX\_BATCH\_KEYS

Re-exports [MAX_BATCH_KEYS](/docs/plugins/sdk/typescript/abi/index.md#max_batch_keys)

***

### MAX\_CHANGES\_CURSOR\_BYTES

Re-exports [MAX_CHANGES_CURSOR_BYTES](/docs/plugins/sdk/typescript/abi/index.md#max_changes_cursor_bytes)

***

### MAX\_CHANGES\_PAGE

Re-exports [MAX_CHANGES_PAGE](/docs/plugins/sdk/typescript/abi/index.md#max_changes_page)

***

### MAX\_CHECKPOINT\_BYTES

Re-exports [MAX_CHECKPOINT_BYTES](/docs/plugins/sdk/typescript/abi/index.md#max_checkpoint_bytes)

***

### MAX\_LIST\_PAGE

Re-exports [MAX_LIST_PAGE](/docs/plugins/sdk/typescript/abi/index.md#max_list_page)

***

### MAX\_PLUGIN\_MIGRATION\_OPS

Re-exports [MAX_PLUGIN_MIGRATION_OPS](/docs/plugins/sdk/typescript/abi/index.md#max_plugin_migration_ops)

***

### MAX\_PLUGIN\_MIGRATION\_REGISTRATION\_BYTES

Re-exports [MAX_PLUGIN_MIGRATION_REGISTRATION_BYTES](/docs/plugins/sdk/typescript/abi/index.md#max_plugin_migration_registration_bytes)

***

### MAX\_PLUGIN\_MIGRATION\_TOTAL\_OPS

Re-exports [MAX_PLUGIN_MIGRATION_TOTAL_OPS](/docs/plugins/sdk/typescript/abi/index.md#max_plugin_migration_total_ops)

***

### MAX\_SCALAR\_BYTES

Re-exports [MAX_SCALAR_BYTES](/docs/plugins/sdk/typescript/abi/index.md#max_scalar_bytes)

***

### MAX\_STREAM\_WINDOW\_BYTES

Re-exports [MAX_STREAM_WINDOW_BYTES](/docs/plugins/sdk/typescript/abi/index.md#max_stream_window_bytes)

***

### MAX\_WRITE\_KEY\_BYTES

Re-exports [MAX_WRITE_KEY_BYTES](/docs/plugins/sdk/typescript/db-execute/index.md#max_write_key_bytes)

***

### MediaKind

Re-exports [MediaKind](/docs/plugins/sdk/typescript/abi/index.md#mediakind)

***

### MediaSupport

Re-exports [MediaSupport](/docs/plugins/sdk/typescript/generated/index.md#mediasupport)

***

### MetadataAudioFile

Re-exports [MetadataAudioFile](/docs/plugins/sdk/typescript/generated/index.md#metadataaudiofile)

***

### MetadataChapter

Re-exports [MetadataChapter](/docs/plugins/sdk/typescript/generated/index.md#metadatachapter)

***

### MetadataChapters

Re-exports [MetadataChapters](/docs/plugins/sdk/typescript/generated/index.md#metadatachapters)

***

### MetadataChaptersParams

Re-exports [MetadataChaptersParams](/docs/plugins/sdk/typescript/generated/index.md#metadatachaptersparams)

***

### MetadataChaptersReply

Re-exports [MetadataChaptersReply](/docs/plugins/sdk/typescript/generated/index.md#metadatachaptersreply)

***

### MetadataEntrypoint

Re-exports [MetadataEntrypoint](/docs/plugins/sdk/typescript/plugin/index.md#metadataentrypoint)

***

### MetadataField

Re-exports [MetadataField](/docs/plugins/sdk/typescript/abi/index.md#metadatafield)

***

### MetadataFileParsed

Re-exports [MetadataFileParsed](/docs/plugins/sdk/typescript/generated/index.md#metadatafileparsed)

***

### MetadataFileParseParams

Re-exports [MetadataFileParseParams](/docs/plugins/sdk/typescript/generated/index.md#metadatafileparseparams)

***

### MetadataFileParseReply

Re-exports [MetadataFileParseReply](/docs/plugins/sdk/typescript/generated/index.md#metadatafileparsereply)

***

### MetadataFileRecord

Re-exports [MetadataFileRecord](/docs/plugins/sdk/typescript/generated/index.md#metadatafilerecord)

***

### MetadataFileRendered

Re-exports [MetadataFileRendered](/docs/plugins/sdk/typescript/generated/index.md#metadatafilerendered)

***

### MetadataFileRenderParams

Re-exports [MetadataFileRenderParams](/docs/plugins/sdk/typescript/generated/index.md#metadatafilerenderparams)

***

### MetadataFileRenderReply

Re-exports [MetadataFileRenderReply](/docs/plugins/sdk/typescript/generated/index.md#metadatafilerenderreply)

***

### MetadataFiles

Re-exports [MetadataFiles](/docs/plugins/sdk/typescript/generated/index.md#metadatafiles-1)

***

### MetadataFilesEntrypoint

Re-exports [MetadataFilesEntrypoint](/docs/plugins/sdk/typescript/plugin/index.md#metadatafilesentrypoint)

***

### MetadataLookupParams

Re-exports [MetadataLookupParams](/docs/plugins/sdk/typescript/generated/index.md#metadatalookupparams)

***

### MetadataProvider

Re-exports [MetadataProvider](/docs/plugins/sdk/typescript/generated/index.md#metadataprovider)

***

### MetadataRecord

Re-exports [MetadataRecord](/docs/plugins/sdk/typescript/generated/index.md#metadatarecord)

***

### MetadataRecords

Re-exports [MetadataRecords](/docs/plugins/sdk/typescript/generated/index.md#metadatarecords)

***

### MetadataRecordsReply

Re-exports [MetadataRecordsReply](/docs/plugins/sdk/typescript/generated/index.md#metadatarecordsreply)

***

### MetadataSearchParams

Re-exports [MetadataSearchParams](/docs/plugins/sdk/typescript/generated/index.md#metadatasearchparams)

***

### MoveManyPage

Re-exports [MoveManyPage](/docs/plugins/sdk/typescript/plugin/index.md#movemanypage)

***

### MoveManyReply

Re-exports [MoveManyReply](/docs/plugins/sdk/typescript/generated/index.md#movemanyreply)

***

### MoveManyRequest

Re-exports [MoveManyRequest](/docs/plugins/sdk/typescript/plugin/index.md#movemanyrequest)

***

### MoveManyTarget

Re-exports [MoveManyTarget](/docs/plugins/sdk/typescript/generated/index.md#movemanytarget)

***

### MoveOptions

Re-exports [MoveOptions](/docs/plugins/sdk/typescript/plugin/index.md#moveoptions)

***

### MoveReply

Re-exports [MoveReply](/docs/plugins/sdk/typescript/generated/index.md#movereply)

***

### MoveResult

Re-exports [MoveResult](/docs/plugins/sdk/typescript/plugin/index.md#moveresult)

***

### NamedDatabase

Re-exports [NamedDatabase](/docs/plugins/sdk/typescript/plugin/index.md#nameddatabase)

***

### NamedEntrypoint

Re-exports [NamedEntrypoint](/docs/plugins/sdk/typescript/plugin/index.md#namedentrypoint)

***

### NamedKv

Re-exports [NamedKv](/docs/plugins/sdk/typescript/plugin/index.md#namedkv)

***

### NamedQueue

Re-exports [NamedQueue](/docs/plugins/sdk/typescript/plugin/index.md#namedqueue)

***

### NamedSqlType

Re-exports [NamedSqlType](/docs/plugins/sdk/typescript/generated/index.md#namedsqltype)

***

### NamedStub

Re-exports [NamedStub](/docs/plugins/sdk/typescript/plugin/index.md#namedstub)

***

### NetworkGrant

Re-exports [NetworkGrant](/docs/plugins/sdk/typescript/generated/index.md#networkgrant)

***

### NotificationAlertAction

Re-exports [NotificationAlertAction](/docs/plugins/sdk/typescript/abi/index.md#notificationalertaction)

***

### NotificationAudience

Re-exports [NotificationAudience](/docs/plugins/sdk/typescript/abi/index.md#notificationaudience)

***

### NotificationField

Re-exports [NotificationField](/docs/plugins/sdk/typescript/generated/index.md#notificationfield)

***

### NotificationMessage

Re-exports [NotificationMessage](/docs/plugins/sdk/typescript/generated/index.md#notificationmessage)

***

### NotificationRaiser

Re-exports [NotificationRaiser](/docs/plugins/sdk/typescript/generated/index.md#notificationraiser)

***

### NotificationSeverity

Re-exports [NotificationSeverity](/docs/plugins/sdk/typescript/abi/index.md#notificationseverity)

***

### Notifier

Re-exports [Notifier](/docs/plugins/sdk/typescript/generated/index.md#notifier-1)

***

### NotifierEntrypoint

Re-exports [NotifierEntrypoint](/docs/plugins/sdk/typescript/plugin/index.md#notifierentrypoint)

***

### NotifyBinding

Re-exports [NotifyBinding](/docs/plugins/sdk/typescript/env/index.md#notifybinding)

***

### NotifyDestination

Re-exports [NotifyDestination](/docs/plugins/sdk/typescript/generated/index.md#notifydestination)

***

### NotifyDestinationKind

Re-exports [NotifyDestinationKind](/docs/plugins/sdk/typescript/abi/index.md#notifydestinationkind)

***

### NotifyRaise

Re-exports [NotifyRaise](/docs/plugins/sdk/typescript/env/index.md#notifyraise)

***

### NotifyRaised

Re-exports [NotifyRaised](/docs/plugins/sdk/typescript/generated/index.md#notifyraised)

***

### NotifyRaiseParams

Re-exports [NotifyRaiseParams](/docs/plugins/sdk/typescript/generated/index.md#notifyraiseparams)

***

### NotifyRaiseReply

Re-exports [NotifyRaiseReply](/docs/plugins/sdk/typescript/generated/index.md#notifyraisereply)

***

### NotifySendParams

Re-exports [NotifySendParams](/docs/plugins/sdk/typescript/generated/index.md#notifysendparams)

***

### NotifySendReply

Re-exports [NotifySendReply](/docs/plugins/sdk/typescript/generated/index.md#notifysendreply)

***

### NotifySent

Re-exports [NotifySent](/docs/plugins/sdk/typescript/generated/index.md#notifysent)

***

### NotifyValidated

Re-exports [NotifyValidated](/docs/plugins/sdk/typescript/generated/index.md#notifyvalidated)

***

### NotifyValidateParams

Re-exports [NotifyValidateParams](/docs/plugins/sdk/typescript/generated/index.md#notifyvalidateparams)

***

### NotifyValidateReply

Re-exports [NotifyValidateReply](/docs/plugins/sdk/typescript/generated/index.md#notifyvalidatereply)

***

### ObjectChange

Re-exports [ObjectChange](/docs/plugins/sdk/typescript/plugin/index.md#objectchange)

***

### ObjectChangeKind

Re-exports [ObjectChangeKind](/docs/plugins/sdk/typescript/abi/index.md#objectchangekind)

***

### ObjectInfo

Re-exports [ObjectInfo](/docs/plugins/sdk/typescript/plugin/index.md#objectinfo)

***

### ObjectMetadata

Re-exports [ObjectMetadata](/docs/plugins/sdk/typescript/plugin/index.md#objectmetadata)

***

### OfferedAacProfile

Re-exports [OfferedAacProfile](/docs/plugins/sdk/typescript/abi/index.md#offeredaacprofile)

***

### OfferedCodec

Re-exports [OfferedCodec](/docs/plugins/sdk/typescript/abi/index.md#offeredcodec)

***

### Oidc

Re-exports [Oidc](/docs/plugins/sdk/typescript/generated/index.md#oidc-1)

***

### OidcClientsOk

Re-exports [OidcClientsOk](/docs/plugins/sdk/typescript/generated/index.md#oidcclientsok)

***

### OidcClientsReply

Re-exports [OidcClientsReply](/docs/plugins/sdk/typescript/generated/index.md#oidcclientsreply)

***

### OidcClientTemplate

Re-exports [OidcClientTemplate](/docs/plugins/sdk/typescript/generated/index.md#oidcclienttemplate)

***

### OidcEntrypoint

Re-exports [OidcEntrypoint](/docs/plugins/sdk/typescript/plugin/index.md#oidcentrypoint)

***

### OpenOk

Re-exports [OpenOk](/docs/plugins/sdk/typescript/generated/index.md#openok)

***

### OpenReply

Re-exports [OpenReply](/docs/plugins/sdk/typescript/generated/index.md#openreply)

***

### OptionalColumnReference

Re-exports [OptionalColumnReference](/docs/plugins/sdk/typescript/generated/index.md#optionalcolumnreference)

***

### Origin

Re-exports [Origin](/docs/plugins/sdk/typescript/generated/index.md#origin-3)

***

### OriginFetchReply

Re-exports [OriginFetchReply](/docs/plugins/sdk/typescript/generated/index.md#originfetchreply)

***

### OriginHeader

Re-exports [OriginHeader](/docs/plugins/sdk/typescript/generated/index.md#originheader)

***

### OriginRequest

Re-exports [OriginRequest](/docs/plugins/sdk/typescript/generated/index.md#originrequest)

***

### OriginResponse

Re-exports [OriginResponse](/docs/plugins/sdk/typescript/generated/index.md#originresponse)

***

### packEmbeddingVectors

Re-exports [packEmbeddingVectors](/docs/plugins/sdk/typescript/plugin/index.md#packembeddingvectors)

***

### parseDbValue

Re-exports [parseDbValue](/docs/plugins/sdk/typescript/db-value/index.md#parsedbvalue)

***

### PhysicalAccess

Re-exports [PhysicalAccess](/docs/plugins/sdk/typescript/generated/index.md#physicalaccess)

***

### PlainFetch

Re-exports [PlainFetch](/docs/plugins/sdk/typescript/generated/index.md#plainfetch)

***

### PluginCapabilities

Re-exports [PluginCapabilities](/docs/plugins/sdk/typescript/generated/index.md#plugincapabilities)

***

### PluginCli

Re-exports [PluginCli](/docs/plugins/sdk/typescript/generated/index.md#plugincli)

***

### PluginDescribe

Re-exports [PluginDescribe](/docs/plugins/sdk/typescript/plugin/index.md#plugindescribe)

***

### PluginErrorCode

Re-exports [PluginErrorCode](/docs/plugins/sdk/typescript/abi/index.md#pluginerrorcode)

***

### PluginEvent

Re-exports [PluginEvent](/docs/plugins/sdk/typescript/generated/index.md#pluginevent)

***

### PluginMigration

Re-exports [PluginMigration](/docs/plugins/sdk/typescript/generated/index.md#pluginmigration)

***

### PluginMigrationOp

Re-exports [PluginMigrationOp](/docs/plugins/sdk/typescript/generated/index.md#pluginmigrationop)

***

### PluginMigrationsOk

Re-exports [PluginMigrationsOk](/docs/plugins/sdk/typescript/generated/index.md#pluginmigrationsok)

***

### PluginMigrationsReply

Re-exports [PluginMigrationsReply](/docs/plugins/sdk/typescript/generated/index.md#pluginmigrationsreply)

***

### PluginWorker

Re-exports [PluginWorker](/docs/plugins/sdk/typescript/generated/index.md#pluginworker)

***

### PortalAuthMode

Re-exports [PortalAuthMode](/docs/plugins/sdk/typescript/abi/index.md#portalauthmode)

***

### PreparedStatement

Re-exports [PreparedStatement](/docs/plugins/sdk/typescript/db-execute/index.md#preparedstatement)

***

### PricedRecord

Re-exports [PricedRecord](/docs/plugins/sdk/typescript/generated/index.md#pricedrecord)

***

### PriceLookup

Re-exports [PriceLookup](/docs/plugins/sdk/typescript/abi/index.md#pricelookup)

***

### PRODUCT\_API\_VERSION

Re-exports [PRODUCT_API_VERSION](/docs/plugins/sdk/typescript/abi/index.md#product_api_version)

***

### ProgressSink

Re-exports [ProgressSink](/docs/plugins/sdk/typescript/plugin/index.md#progresssink)

***

### PublishEvent

Re-exports [PublishEvent](/docs/plugins/sdk/typescript/env/index.md#publishevent)

***

### PublishOk

Re-exports [PublishOk](/docs/plugins/sdk/typescript/generated/index.md#publishok)

***

### PublishReply

Re-exports [PublishReply](/docs/plugins/sdk/typescript/generated/index.md#publishreply)

***

### PullOk

Re-exports [PullOk](/docs/plugins/sdk/typescript/generated/index.md#pullok)

***

### PullReply

Re-exports [PullReply](/docs/plugins/sdk/typescript/generated/index.md#pullreply)

***

### PurchaseHint

Re-exports [PurchaseHint](/docs/plugins/sdk/typescript/generated/index.md#purchasehint-1)

***

### PurchaseHintAnswer

Re-exports [PurchaseHintAnswer](/docs/plugins/sdk/typescript/plugin/index.md#purchasehintanswer)

***

### PurchaseHintParams

Re-exports [PurchaseHintParams](/docs/plugins/sdk/typescript/generated/index.md#purchasehintparams)

***

### PurchaseHintReply

Re-exports [PurchaseHintReply](/docs/plugins/sdk/typescript/generated/index.md#purchasehintreply)

***

### PurchaseHintResult

Re-exports [PurchaseHintResult](/docs/plugins/sdk/typescript/generated/index.md#purchasehintresult)

***

### PurchaseHintsParams

Re-exports [PurchaseHintsParams](/docs/plugins/sdk/typescript/generated/index.md#purchasehintsparams)

***

### PurchaseHintsReply

Re-exports [PurchaseHintsReply](/docs/plugins/sdk/typescript/generated/index.md#purchasehintsreply)

***

### PurchaseHintsResult

Re-exports [PurchaseHintsResult](/docs/plugins/sdk/typescript/generated/index.md#purchasehintsresult)

***

### PutReply

Re-exports [PutReply](/docs/plugins/sdk/typescript/generated/index.md#putreply)

***

### PutResult

Re-exports [PutResult](/docs/plugins/sdk/typescript/plugin/index.md#putresult)

***

### QualityOffer

Re-exports [QualityOffer](/docs/plugins/sdk/typescript/generated/index.md#qualityoffer)

***

### QualityOffersParams

Re-exports [QualityOffersParams](/docs/plugins/sdk/typescript/generated/index.md#qualityoffersparams)

***

### QualityOffersReply

Re-exports [QualityOffersReply](/docs/plugins/sdk/typescript/generated/index.md#qualityoffersreply)

***

### QualityOffersResult

Re-exports [QualityOffersResult](/docs/plugins/sdk/typescript/generated/index.md#qualityoffersresult)

***

### QueueBatch

Re-exports [QueueBatch](/docs/plugins/sdk/typescript/plugin/index.md#queuebatch)

***

### QueueBatchOk

Re-exports [QueueBatchOk](/docs/plugins/sdk/typescript/generated/index.md#queuebatchok)

***

### QueueBatchReply

Re-exports [QueueBatchReply](/docs/plugins/sdk/typescript/generated/index.md#queuebatchreply)

***

### queueBatchResults

Re-exports [queueBatchResults](/docs/plugins/sdk/typescript/plugin/index.md#queuebatchresults)

***

### QueueBinding

Re-exports [QueueBinding](/docs/plugins/sdk/typescript/env/index.md#queuebinding)

***

### QueueConsumer

Re-exports [QueueConsumer](/docs/plugins/sdk/typescript/generated/index.md#queueconsumer-1)

***

### QueueMessage

Re-exports [QueueMessage](/docs/plugins/sdk/typescript/plugin/index.md#queuemessage)

***

### QueueOutcome

Re-exports [QueueOutcome](/docs/plugins/sdk/typescript/plugin/index.md#queueoutcome)

***

### QueueProducer

Re-exports [QueueProducer](/docs/plugins/sdk/typescript/generated/index.md#queueproducer)

***

### QueueResult

Re-exports [QueueResult](/docs/plugins/sdk/typescript/generated/index.md#queueresult)

***

### QueueRetry

Re-exports [QueueRetry](/docs/plugins/sdk/typescript/generated/index.md#queueretry)

***

### QueueRetryOptions

Re-exports [QueueRetryOptions](/docs/plugins/sdk/typescript/plugin/index.md#queueretryoptions)

***

### QueueSendBatchEntry

Re-exports [QueueSendBatchEntry](/docs/plugins/sdk/typescript/env/index.md#queuesendbatchentry)

***

### QueueSendMessage

Re-exports [QueueSendMessage](/docs/plugins/sdk/typescript/generated/index.md#queuesendmessage)

***

### QueueSendOk

Re-exports [QueueSendOk](/docs/plugins/sdk/typescript/generated/index.md#queuesendok)

***

### QueueSendOptions

Re-exports [QueueSendOptions](/docs/plugins/sdk/typescript/env/index.md#queuesendoptions)

***

### QueueSendReply

Re-exports [QueueSendReply](/docs/plugins/sdk/typescript/generated/index.md#queuesendreply)

***

### ReadOptions

Re-exports [ReadOptions](/docs/plugins/sdk/typescript/plugin/index.md#readoptions)

***

### ReadResult

Re-exports [ReadResult](/docs/plugins/sdk/typescript/plugin/index.md#readresult)

***

### RejectedOutcome

Re-exports [RejectedOutcome](/docs/plugins/sdk/typescript/generated/index.md#rejectedoutcome)

***

### RemoteLibrary

Re-exports [RemoteLibrary](/docs/plugins/sdk/typescript/generated/index.md#remotelibrary-1)

***

### RemoteLibraryEntrypoint

Re-exports [RemoteLibraryEntrypoint](/docs/plugins/sdk/typescript/plugin/index.md#remotelibraryentrypoint)

***

### ResolvedAssignment

Re-exports [ResolvedAssignment](/docs/plugins/sdk/typescript/generated/index.md#resolvedassignment)

***

### ResolvedSqlType

Re-exports [ResolvedSqlType](/docs/plugins/sdk/typescript/abi/index.md#resolvedsqltype)

***

### ResolvedStatement

Re-exports [ResolvedStatement](/docs/plugins/sdk/typescript/generated/index.md#resolvedstatement)

***

### RetryableOutcome

Re-exports [RetryableOutcome](/docs/plugins/sdk/typescript/generated/index.md#retryableoutcome)

***

### RetryOptions

Re-exports [RetryOptions](/docs/plugins/sdk/typescript/plugin/index.md#retryoptions)

***

### RetryToken

Re-exports [RetryToken](/docs/plugins/sdk/typescript/db-execute/index.md#retrytoken)

***

### RevokeAccountParams

Re-exports [RevokeAccountParams](/docs/plugins/sdk/typescript/generated/index.md#revokeaccountparams)

***

### ScalarLimits

Re-exports [ScalarLimits](/docs/plugins/sdk/typescript/generated/index.md#scalarlimits-1)

***

### ScanBook

Re-exports [ScanBook](/docs/plugins/sdk/typescript/generated/index.md#scanbook)

***

### ScanLibraryParams

Re-exports [ScanLibraryParams](/docs/plugins/sdk/typescript/generated/index.md#scanlibraryparams)

***

### ScanPage

Re-exports [ScanPage](/docs/plugins/sdk/typescript/generated/index.md#scanpage)

***

### ScanParams

Re-exports [ScanParams](/docs/plugins/sdk/typescript/generated/index.md#scanparams)

***

### ScanReply

Re-exports [ScanReply](/docs/plugins/sdk/typescript/generated/index.md#scanreply)

***

### ScheduledController

Re-exports [ScheduledController](/docs/plugins/sdk/typescript/generated/index.md#scheduledcontroller)

***

### ScheduledHandler

Re-exports [ScheduledHandler](/docs/plugins/sdk/typescript/generated/index.md#scheduledhandler-1)

***

### SchemaAction

Re-exports [SchemaAction](/docs/plugins/sdk/typescript/generated/index.md#schemaaction-1)

***

### SchemaCreate

Re-exports [SchemaCreate](/docs/plugins/sdk/typescript/generated/index.md#schemacreate)

***

### schemaMigrationOp

Re-exports [schemaMigrationOp](/docs/plugins/sdk/typescript/plugin/index.md#schemamigrationop)

***

### SearchCatalogParams

Re-exports [SearchCatalogParams](/docs/plugins/sdk/typescript/generated/index.md#searchcatalogparams)

***

### SeriesEntry

Re-exports [SeriesEntry](/docs/plugins/sdk/typescript/generated/index.md#seriesentry)

***

### SettingGrantState

Re-exports [SettingGrantState](/docs/plugins/sdk/typescript/abi/index.md#settinggrantstate)

***

### SettingNetworkGrant

Re-exports [SettingNetworkGrant](/docs/plugins/sdk/typescript/generated/index.md#settingnetworkgrant)

***

### SettingNetworkKind

Re-exports [SettingNetworkKind](/docs/plugins/sdk/typescript/abi/index.md#settingnetworkkind)

***

### SocketAutoResponse

Re-exports [SocketAutoResponse](/docs/plugins/sdk/typescript/generated/index.md#socketautoresponse)

***

### SocketAutoResponsePair

Re-exports [SocketAutoResponsePair](/docs/plugins/sdk/typescript/env/index.md#socketautoresponsepair)

***

### SocketClosed

Re-exports [SocketClosed](/docs/plugins/sdk/typescript/generated/index.md#socketclosed)

***

### SocketConnectOptions

Re-exports [SocketConnectOptions](/docs/plugins/sdk/typescript/env/index.md#socketconnectoptions)

***

### SocketConnectReply

Re-exports [SocketConnectReply](/docs/plugins/sdk/typescript/generated/index.md#socketconnectreply)

***

### SocketConnectRequest

Re-exports [SocketConnectRequest](/docs/plugins/sdk/typescript/generated/index.md#socketconnectrequest)

***

### SocketFrame

Re-exports [SocketFrame](/docs/plugins/sdk/typescript/generated/index.md#socketframe)

***

### SocketHandler

Re-exports [SocketHandler](/docs/plugins/sdk/typescript/generated/index.md#sockethandler-1)

***

### SocketHeader

Re-exports [SocketHeader](/docs/plugins/sdk/typescript/generated/index.md#socketheader)

***

### SocketInfo

Re-exports [SocketInfo](/docs/plugins/sdk/typescript/generated/index.md#socketinfo)

***

### SocketList

Re-exports [SocketList](/docs/plugins/sdk/typescript/generated/index.md#socketlist)

***

### SocketListReply

Re-exports [SocketListReply](/docs/plugins/sdk/typescript/generated/index.md#socketlistreply)

***

### SocketMessage

Re-exports [SocketMessage](/docs/plugins/sdk/typescript/generated/index.md#socketmessage)

***

### SocketMessageData

Re-exports [SocketMessageData](/docs/plugins/sdk/typescript/env/index.md#socketmessagedata)

***

### SocketMessageOk

Re-exports [SocketMessageOk](/docs/plugins/sdk/typescript/generated/index.md#socketmessageok)

***

### SocketMessageReply

Re-exports [SocketMessageReply](/docs/plugins/sdk/typescript/generated/index.md#socketmessagereply)

***

### Sockets

Re-exports [Sockets](/docs/plugins/sdk/typescript/generated/index.md#sockets-3)

***

### SocketsBinding

Re-exports [SocketsBinding](/docs/plugins/sdk/typescript/env/index.md#socketsbinding)

***

### SocketSendData

Re-exports [SocketSendData](/docs/plugins/sdk/typescript/env/index.md#socketsenddata)

***

### Source

Re-exports [Source](/docs/plugins/sdk/typescript/plugin/index.md#source-2)

***

### SourceAccount

Re-exports [SourceAccount](/docs/plugins/sdk/typescript/generated/index.md#sourceaccount)

***

### SourceAccounts

Re-exports [SourceAccounts](/docs/plugins/sdk/typescript/generated/index.md#sourceaccounts)

***

### SourceAccountsReply

Re-exports [SourceAccountsReply](/docs/plugins/sdk/typescript/generated/index.md#sourceaccountsreply)

***

### SqlSpan

Re-exports [SqlSpan](/docs/plugins/sdk/typescript/generated/index.md#sqlspan)

***

### StatementResult

Re-exports [StatementResult](/docs/plugins/sdk/typescript/db-execute/index.md#statementresult)

***

### statementResultToD1Result

Re-exports [statementResultToD1Result](/docs/plugins/sdk/typescript/db-execute/index.md#statementresulttod1result)

***

### StorageBinding

Re-exports [StorageBinding](/docs/plugins/sdk/typescript/env/index.md#storagebinding)

***

### StorageEntrypoint

Re-exports [StorageEntrypoint](/docs/plugins/sdk/typescript/plugin/index.md#storageentrypoint)

***

### StorefrontEntrypoint

Re-exports [StorefrontEntrypoint](/docs/plugins/sdk/typescript/plugin/index.md#storefrontentrypoint)

***

### SuspendedOutcome

Re-exports [SuspendedOutcome](/docs/plugins/sdk/typescript/generated/index.md#suspendedoutcome)

***

### SyncListeningReply

Re-exports [SyncListeningReply](/docs/plugins/sdk/typescript/generated/index.md#synclisteningreply)

***

### SyncListeningResult

Re-exports [SyncListeningResult](/docs/plugins/sdk/typescript/generated/index.md#synclisteningresult)

***

### TableConstraint

Re-exports [TableConstraint](/docs/plugins/sdk/typescript/generated/index.md#tableconstraint)

***

### TextCollateSite

Re-exports [TextCollateSite](/docs/plugins/sdk/typescript/generated/index.md#textcollatesite)

***

### TitleQualityOffer

Re-exports [TitleQualityOffer](/docs/plugins/sdk/typescript/generated/index.md#titlequalityoffer)

***

### toBridgeJson

Re-exports [toBridgeJson](/docs/plugins/sdk/typescript/plugin/index.md#tobridgejson)

***

### TranslateKeysReply

Re-exports [TranslateKeysReply](/docs/plugins/sdk/typescript/generated/index.md#translatekeysreply)

***

### TranslateKeysResult

Re-exports [TranslateKeysResult](/docs/plugins/sdk/typescript/generated/index.md#translatekeysresult)

***

### TypedDbStatement

Re-exports [TypedDbStatement](/docs/plugins/sdk/typescript/db-execute/index.md#typeddbstatement)

***

### unpackEmbeddingVectors

Re-exports [unpackEmbeddingVectors](/docs/plugins/sdk/typescript/plugin/index.md#unpackembeddingvectors)

***

### UserRelationsReply

Re-exports [UserRelationsReply](/docs/plugins/sdk/typescript/generated/index.md#userrelationsreply)

***

### WebhookAckRequest

Re-exports [WebhookAckRequest](/docs/plugins/sdk/typescript/generated/index.md#webhookackrequest)

***

### WebhookDelivered

Re-exports [WebhookDelivered](/docs/plugins/sdk/typescript/generated/index.md#webhookdelivered)

***

### WebhookDeliveredEvent

Re-exports [WebhookDeliveredEvent](/docs/plugins/sdk/typescript/env/index.md#webhookdeliveredevent)

***

### WebhookDelivery

Re-exports [WebhookDelivery](/docs/plugins/sdk/typescript/generated/index.md#webhookdelivery)

***

### WebhookHandler

Re-exports [WebhookHandler](/docs/plugins/sdk/typescript/generated/index.md#webhookhandler-1)

***

### WebhookHeader

Re-exports [WebhookHeader](/docs/plugins/sdk/typescript/generated/index.md#webhookheader)

***

### WebhookMessage

Re-exports [WebhookMessage](/docs/plugins/sdk/typescript/env/index.md#webhookmessage)

***

### WebhookPullOptions

Re-exports [WebhookPullOptions](/docs/plugins/sdk/typescript/env/index.md#webhookpulloptions)

***

### WebhookPullPage

Re-exports [WebhookPullPage](/docs/plugins/sdk/typescript/generated/index.md#webhookpullpage)

***

### WebhookPullReply

Re-exports [WebhookPullReply](/docs/plugins/sdk/typescript/generated/index.md#webhookpullreply)

***

### WebhookPullRequest

Re-exports [WebhookPullRequest](/docs/plugins/sdk/typescript/generated/index.md#webhookpullrequest)

***

### WebhookPullResult

Re-exports [WebhookPullResult](/docs/plugins/sdk/typescript/env/index.md#webhookpullresult)

***

### Webhooks

Re-exports [Webhooks](/docs/plugins/sdk/typescript/generated/index.md#webhooks-2)

***

### WebhooksBinding

Re-exports [WebhooksBinding](/docs/plugins/sdk/typescript/env/index.md#webhooksbinding)

***

### WebhookUrl

Re-exports [WebhookUrl](/docs/plugins/sdk/typescript/generated/index.md#webhookurl)

***

### WebhookUrlReply

Re-exports [WebhookUrlReply](/docs/plugins/sdk/typescript/generated/index.md#webhookurlreply)

***

### WireEventBatch

Re-exports [WireEventBatch](/docs/plugins/sdk/typescript/plugin/index.md#wireeventbatch)

***

### WireQueueBatch

Re-exports [WireQueueBatch](/docs/plugins/sdk/typescript/plugin/index.md#wirequeuebatch)

***

### WorkKind

Re-exports [WorkKind](/docs/plugins/sdk/typescript/abi/index.md#workkind)

***

### wrapPluginFromBinding

Re-exports [wrapPluginFromBinding](/docs/plugins/sdk/typescript/plugin/index.md#wrappluginfrombinding)

***

### wrapPluginFromNative

Re-exports [wrapPluginFromNative](/docs/plugins/sdk/typescript/plugin/index.md#wrappluginfromnative)

***

### WriteChunksError

Re-exports [WriteChunksError](/docs/plugins/sdk/typescript/db-execute/index.md#writechunkserror)

***

### writeChunksOperationId

Re-exports [writeChunksOperationId](/docs/plugins/sdk/typescript/db-execute/index.md#writechunksoperationid)

***

### WriteChunksOptions

Re-exports [WriteChunksOptions](/docs/plugins/sdk/typescript/db-execute/index.md#writechunksoptions)

***

### WriteOptions

Re-exports [WriteOptions](/docs/plugins/sdk/typescript/plugin/index.md#writeoptions)

***

### WriteProgress

Re-exports [WriteProgress](/docs/plugins/sdk/typescript/db-execute/index.md#writeprogress)
