import { ExtractPropTypes, PropType, Component } from 'vue'; export declare const MenuSizeTypes: readonly ["medium", "small"]; export type MenuSizeT = (typeof MenuSizeTypes)[number]; export declare const menuProps: { /** * @zh-CN 菜单尺寸 * @en-US Menu size * @default 'medium' */ size: { type: PropType; default: string; }; /** * @zh-CN 是否开启手风琴模式 * @en-US Whether to enable accordion mode * @default false */ accordion: { type: BooleanConstructor; default: boolean; }; /** * @zh-CN 选中值 * @en-US Selected value */ modelValue: { type: StringConstructor; }; /** * @zh-CN 非受控模式时,默认选中值 * @en-US Default selected value when not controlled * @default '' */ defaultValue: { type: StringConstructor; default: string; }; /** * @zh-CN 展开节点值 * @en-US Expanded node value */ expanded: { type: PropType>; }; /** * @zh-CN 非受控模式时,默认展开节点值 * @en-US Default expanded node value when not controlled * @default [] */ defaultExpanded: { type: PropType>; default: () => never[]; }; /** * @zh-CN 父子节点是否关联 * @en-US Whether parent and child nodes are associated * @default false */ selectStrictly: { type: BooleanConstructor; default: boolean; }; /** * @zh-CN 折叠箭头的位置 * @en-US Position of the collapse arrow * @default right */ arrowPosition: { type: PropType<"left" | "right">; default: string; }; }; export type MenuPropsT = ExtractPropTypes; export declare const subMenuProps: { /** * @zh-CN 菜单项值 * @en-US Menu item value */ value: { type: StringConstructor; required: true; }; /** * @zh-CN 菜单项是否可选 * @en-US Whether the menu item is selectable */ selectable: { type: BooleanConstructor; }; /** * @zh-CN 前缀图标 * @en-US Prefix icon */ icon: { type: PropType; }; }; export type SubMenuPropsT = ExtractPropTypes; export declare const menuItemProps: { /** * @zh-CN 菜单项值 * @en-US Menu item value */ value: { type: StringConstructor; required: true; }; /** * @zh-CN 前缀图标 * @en-US Prefix icon */ icon: { type: PropType; }; /** * @zh-CN 禁用 * @en-US Disabled * @default false */ disabled: { type: BooleanConstructor; default: boolean; }; }; export type MenuItemPropsT = ExtractPropTypes;