export type Mode =
	| 'global'
	| 'view'
	| 'paneSelect'
	| 'pane'
	| 'baseLayerSelect'
	| 'dataLayerSelect'
	| 'overlayLayerSelect'
	| 'dataNOAA'
	| 'dataNOAAMRMS';

export interface MenuItem {
	display: string;
	keyboard: string;
	disabled: boolean;
	visible: boolean;
	action: () => void;
}

export type MenuRegistry = {
	[id in Mode]: MenuItem[];
};
