import { Gui } from './Gui'; import { RpgPlayer } from '../Player/Player'; import { SaveSlot } from './SaveLoadGui'; export type MenuEntryId = 'items' | 'skills' | 'equip' | 'options' | 'save' | 'exit'; export interface MenuEntry { id: MenuEntryId; label: string; disabled?: boolean; } export interface MenuGuiOptions { menus?: MenuEntry[]; disabled?: MenuEntryId[]; saveSlots?: SaveSlot[]; saveMaxSlots?: number; saveShowAutoSlot?: boolean; saveAutoSlotIndex?: number; saveAutoSlotLabel?: string; } export declare class MenuGui extends Gui { private menuOptions; constructor(player: RpgPlayer); private buildSaveLoad; private buildMenuData; private refreshMenu; open(options?: MenuGuiOptions): Promise; }