import { MenuType, Side } from '@ionic/core'; import { ImageMetadata } from '../../atoms/image/types'; /** * Configuration for the menu component. */ export interface MenuMetadata { /** Menu type: 'overlay', 'reveal', or 'push' */ type?: MenuType; /** Enable swipe gesture to open/close */ swipe?: boolean; /** ID of the content element this menu is associated with */ contentId?: string; /** Unique identifier for the menu */ id?: string; /** Which side the menu appears on */ side?: Side; /** Show a close button at the bottom */ showCloseButton?: boolean; /** Close button text (default: 'Close') */ closeButtonText?: string; /** Enable a desktop split-pane menu rail that can expand and collapse */ retractableMenu?: boolean; /** @deprecated Use retractableMenu instead */ desktopCollapsible?: boolean; /** Initial collapsed state for desktop split-pane menus */ desktopCollapsed?: boolean; /** Expanded width for desktop split-pane menus */ desktopExpandedWidth?: string; /** Collapsed width for desktop split-pane menus */ desktopCollapsedWidth?: string; /** Accessible label for collapsing the desktop menu */ desktopCollapseLabel?: string; /** Accessible label for expanding the desktop menu */ desktopExpandLabel?: string; /** Logo image configuration */ logo?: ImageMetadata; }