import SparkBunEvent from "./event";

type TrayClickedData = { id: number; action: string; data?: unknown };

export default {
	trayClicked: (data: TrayClickedData) =>
		new SparkBunEvent<TrayClickedData, { allow: boolean }>(
			"tray-clicked",
			data,
		),
};
