import { PropType, ExtractPropTypes } from 'vue'; import { StyleValue } from '../ele-app/types'; import { ElIconProps, ElButtonProps, ElDropdownInstance } from '../ele-app/el'; import { default as ProDropdown } from './components/pro-dropdown'; import { DropdownItem } from './types'; declare const normalizeDropdownProps: import('../ele-app/types').Mutable import('element-plus/es/utils/typescript').Arrayable & {}) | (() => import('element-plus/es/utils/typescript').Arrayable) | ((new (...args: any[]) => import('element-plus/es/utils/typescript').Arrayable & {}) | (() => import('element-plus/es/utils/typescript').Arrayable))[], unknown, unknown, "hover", boolean>; readonly effect: { readonly default: "light"; readonly type: import('vue/dist/vue.js').PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; readonly __epPropKey: true; }; readonly type: { readonly type: import('vue/dist/vue.js').PropType import('element-plus/es/utils/index').EpPropMergeType & {}) | (() => import('element-plus/es/utils/index').EpPropMergeType) | ((new (...args: any[]) => import('element-plus/es/utils/index').EpPropMergeType & {}) | (() => import('element-plus/es/utils/index').EpPropMergeType))[], unknown, unknown>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly placement: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => Placement & {}) | (() => Placement) | ((new (...args: any[]) => Placement & {}) | (() => Placement))[], unknown, unknown, "bottom", boolean>; readonly popperOptions: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => Partial) | (() => Partial) | ((new (...args: any[]) => Partial) | (() => Partial))[], unknown, unknown, () => {}, boolean>; readonly id: StringConstructor; readonly size: import('element-plus/es/utils/index').EpPropFinalized; readonly splitButton: BooleanConstructor; readonly hideOnClick: import('element-plus/es/utils/index').EpPropFinalized; readonly loop: import('element-plus/es/utils/index').EpPropFinalized; readonly showTimeout: import('element-plus/es/utils/index').EpPropFinalized; readonly hideTimeout: import('element-plus/es/utils/index').EpPropFinalized; readonly tabindex: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown, 0, boolean>; readonly maxHeight: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown, "", boolean>; readonly popperClass: import('element-plus/es/utils/index').EpPropFinalized; readonly disabled: BooleanConstructor; readonly role: import('element-plus/es/utils/index').EpPropFinalized; readonly buttonProps: { readonly type: import('vue/dist/vue.js').PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly teleported: import('element-plus/es/utils/index').EpPropFinalized; }, "size" | "trigger">>; /** * 属性 */ export declare const dropdownProps: { /** 下拉框渐变动画 */ transition: { type: StringConstructor; default: string; }; /** 下拉菜单数据 */ items: PropType; /** 选中的菜单 */ modelValue: PropType; /** 自定义下拉菜单样式 */ menuStyle: PropType; /** 自定义图标属性 */ iconProps: PropType; /** 下拉菜单使用的组件类型 */ componentType: PropType<"pro">; /** 是否阻止下拉菜单的右键事件 */ preventContextmenu: BooleanConstructor; /** 内容按钮属性 */ splitButtonProps: PropType; /** 箭头按钮属性 */ caretButtonProps: PropType; type: { readonly type: import('vue/dist/vue.js').PropType import('element-plus/es/utils/index').EpPropMergeType & {}) | (() => import('element-plus/es/utils/index').EpPropMergeType) | ((new (...args: any[]) => import('element-plus/es/utils/index').EpPropMergeType & {}) | (() => import('element-plus/es/utils/index').EpPropMergeType))[], unknown, unknown>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; effect: { readonly default: "light"; readonly type: import('vue/dist/vue.js').PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; readonly __epPropKey: true; }; placement: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => Placement & {}) | (() => Placement) | ((new (...args: any[]) => Placement & {}) | (() => Placement))[], unknown, unknown, "bottom", boolean>; popperClass: import('element-plus/es/utils/index').EpPropFinalized; teleported: import('element-plus/es/utils/index').EpPropFinalized; disabled: BooleanConstructor; popperOptions: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => Partial) | (() => Partial) | ((new (...args: any[]) => Partial) | (() => Partial))[], unknown, unknown, () => {}, boolean>; id: StringConstructor; splitButton: BooleanConstructor; hideOnClick: import('element-plus/es/utils/index').EpPropFinalized; loop: import('element-plus/es/utils/index').EpPropFinalized; showTimeout: import('element-plus/es/utils/index').EpPropFinalized; hideTimeout: import('element-plus/es/utils/index').EpPropFinalized; tabindex: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown, 0, boolean>; maxHeight: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown, "", boolean>; role: import('element-plus/es/utils/index').EpPropFinalized; buttonProps: { readonly type: import('vue/dist/vue.js').PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; size: PropType; ariaLabel: StringConstructor; offset: import('element-plus/es/utils/index').EpPropFinalized; bg: StringConstructor; persistent: import('element-plus/es/utils/index').EpPropFinalized; appendTo: { readonly type: import('vue/dist/vue.js').PropType (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; zIndex: NumberConstructor; visible: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>; trigger: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => import('element-plus/es/utils/typescript').Arrayable & {}) | (() => import('element-plus/es/utils/typescript').Arrayable) | ((new (...args: any[]) => import('element-plus/es/utils/typescript').Arrayable & {}) | (() => import('element-plus/es/utils/typescript').Arrayable))[], unknown, unknown, "hover", boolean>; triggerKeys: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>; popperStyle: PropType; enterable: { readonly default: true; readonly type: PropType>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; readonly __epPropKey: true; }; showArrow: import('element-plus/es/utils/index').EpPropFinalized; arrowOffset: import('element-plus/es/utils/index').EpPropFinalized; virtualRef: { readonly type: import('vue/dist/vue.js').PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; virtualTriggering: BooleanConstructor; className: StringConstructor; gpuAcceleration: import('element-plus/es/utils/index').EpPropFinalized; arrowBg: StringConstructor; }; export type DropdownProps = ExtractPropTypes; /** * 事件 */ export declare const dropdownEmits: { /** 内容按钮点击事件 */ click: (_e: MouseEvent) => boolean; /** 菜单项点击事件 */ command: (_command: DropdownItem["command"]) => boolean; /** 下拉框显示状态改变事件 */ visibleChange: (_visible: boolean) => boolean; /** 更新选中值 */ 'update:modelValue': (_value: DropdownItem["command"]) => boolean; /** 选中改变的事件 */ change: (_active: DropdownItem["command"]) => boolean; 'update:visible': (value: boolean) => boolean; 'before-enter': () => boolean; 'before-leave': () => boolean; 'after-enter': () => boolean; 'after-leave': () => boolean; }; /** * 属性名 */ export type ElDropdownPropKeys = Array; export declare const elDropdownPropKeys: ElDropdownPropKeys; /** * 下拉菜单组件实例 */ export type ProDropdownInstance = InstanceType | null; export type DropdownInstance = ElDropdownInstance | ProDropdownInstance; export {};