# types.TmuxEvent

- **Module:** types
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/libtmux/src/types.ts#L765
- **Page:** https://libtmux.org/en/ts/latest/reference/types-tmuxevent/

Anything a control-mode connection can deliver, as one discriminated union.

tmux pushes these; nothing here asked for them, and they arrive interleaved
with command replies. The union is open in practice — an unrecognised
notification arrives as {@link TmuxUnknownEvent} rather than being dropped,
so a `switch` should still have a default.
