<!-- Public documentation export; not library implementation source. -->
# ContextMenuItemsProcessor

[Integration guide](https://docs.lumencharts.com/charting-library/reference/compatibility) · [Reference index](https://docs.lumencharts.com/charting-library/api/)

Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.

```ts
export type ContextMenuItemsProcessor = (
  items: readonly IActionVariant[],
  actionsFactory: ActionsFactory,
  params: CreateContextMenuParams,
) => Promise<readonly IActionVariant[]>;
```

## Related types

- [IActionVariant](https://docs.lumencharts.com/charting-library/api/IActionVariant)
- [ActionsFactory](https://docs.lumencharts.com/charting-library/api/ActionsFactory)
- [CreateContextMenuParams](https://docs.lumencharts.com/charting-library/api/CreateContextMenuParams)

---
Documentation page: https://docs.lumencharts.com/charting-library/api/ContextMenuItemsProcessor
