import { EVENT_CODE } from 'element-ultra/shared'; import type { Options } from '@popperjs/core'; import type { ButtonType } from 'element-ultra/components/button'; import type { Placement } from 'element-ultra/components/popper'; import type { ComponentInternalInstance, ComputedRef } from 'vue'; import type { Nullable } from 'element-ultra/utils'; export interface IElDropdownInstance { instance?: ComponentInternalInstance; dropdownSize?: ComputedRef; handleClick?: () => void; commandHandler?: (...arg: any[]) => void; show?: () => void; hide?: () => void; trigger?: ComputedRef; hideOnClick?: ComputedRef; triggerElm?: ComputedRef>; } export declare const dropdownProps: { trigger: { readonly type: PropType<"click" | "contextmenu" | "focus" | "hover" | ("click" | "contextmenu" | "focus" | "hover")[]>; readonly default: "hover"; }; effect: { default: string; type: PropType<"dark" | "light">; }; type: { type: PropType; }; placement: { type: PropType; default: string; }; popperOptions: { type: PropType>; default: () => {}; }; size: { type: PropType<"default" | "small" | "large">; }; splitButton: BooleanConstructor; hideOnClick: { type: BooleanConstructor; default: boolean; }; loop: { type: BooleanConstructor; }; showTimeout: { type: NumberConstructor; default: number; }; hideTimeout: { type: NumberConstructor; default: number; }; tabindex: { type: PropType; default: number; }; maxHeight: { type: PropType; default: string; }; popperClass: { type: StringConstructor; default: string; }; }; export declare const dropdownItemProps: { command: { type: (StringConstructor | NumberConstructor | ObjectConstructor)[]; default: () => {}; }; disabled: BooleanConstructor; divided: BooleanConstructor; textValue: StringConstructor; icon: { type: PropType; }; }; export declare const dropdownMenuProps: { onKeydown: { type: PropType<(e: KeyboardEvent) => void>; }; }; export declare const FIRST_KEYS: EVENT_CODE[]; export declare const LAST_KEYS: EVENT_CODE[]; export declare const FIRST_LAST_KEYS: EVENT_CODE[]; declare const ElCollection: any, ElCollectionItem: any, COLLECTION_INJECTION_KEY: InjectionKey, COLLECTION_ITEM_INJECTION_KEY: InjectionKey; export { ElCollection, ElCollectionItem, COLLECTION_INJECTION_KEY as DROPDOWN_COLLECTION_INJECTION_KEY, COLLECTION_ITEM_INJECTION_KEY as DROPDOWN_COLLECTION_ITEM_INJECTION_KEY };