# Package reference

Plandalf publishes two packages. Open one in the sidebar to browse its functions, classes, interfaces, type aliases, and referenced source types together. The reference is generated from each package's TypeScript entrypoint, so a type appears with the package that defines or uses it.

| Package | Use it for | Reference |
| --- | --- | --- |
| `@plandalf/sdk` | Programmatic JavaScript checkout, promos, identity, and gates | [Browse SDK exports and types](https://plandalf.com/docs/packages/sdk) |
| `@plandalf/react` | React provider, hooks, and components | [Browse React exports and types](https://plandalf.com/docs/packages/react) |

## Common SDK types

| Type | What it tells you |
| --- | --- |
| [`FlowOpenOptions`](https://plandalf.com/docs/packages/sdk/interfaces/FlowOpenOptions) | Inputs accepted when an offer opens |
| [`MountOptions`](https://plandalf.com/docs/packages/sdk/interfaces/MountOptions) | Inputs accepted by an inline mount |
| [`FlowHandle<T>`](https://plandalf.com/docs/packages/sdk/interfaces/FlowHandle) | Promise behavior, live events, and `close()` |
| [`FlowResult`](https://plandalf.com/docs/packages/sdk/interfaces/FlowResult) | Checkout completion or dismissal result |
| [`GateResult`](https://plandalf.com/docs/packages/sdk/interfaces/GateResult) | Access decision from a gate |

Start at the [SDK overview](https://plandalf.com/docs/sdk) when you want to understand how these functions work together. Use the [SDK examples](https://plandalf.com/docs/guides) to choose HTML, JavaScript, or React for a real task.

Source: https://plandalf.com/docs/packages
