import { ExtractPropTypes, PropType } from 'vue'; export interface DropdownItem { label: string; value?: string | number; icon?: string; disabled?: boolean; disabledReason?: string; divided?: boolean; destructive?: boolean; color?: string; description?: string; shortcut?: string; badge?: string | number; badgeType?: 'default' | 'primary' | 'success' | 'warning' | 'danger'; type?: 'default' | 'checkbox' | 'radio'; checked?: boolean; confirm?: string; group?: string; action?: (item: DropdownItem) => void; children?: DropdownItem[]; } export type DropdownTrigger = 'click' | 'hover' | 'contextmenu'; export type DropdownPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end'; export type DropdownSize = 'small' | 'default' | 'large'; export declare const dropdownProps: { readonly items: { readonly type: PropType; readonly default: () => never[]; }; readonly trigger: { readonly type: PropType; readonly default: "click"; }; readonly placement: { readonly type: PropType; readonly default: "bottom-start"; }; readonly size: { readonly type: PropType; readonly default: "default"; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly splitButton: { readonly type: BooleanConstructor; readonly default: false; }; readonly hideOnClick: { readonly type: BooleanConstructor; readonly default: true; }; readonly maxHeight: { readonly type: NumberConstructor; readonly default: 0; }; readonly showArrow: { readonly type: BooleanConstructor; readonly default: false; }; readonly width: { readonly type: StringConstructor; readonly default: ""; }; readonly filterable: { readonly type: BooleanConstructor; readonly default: false; }; readonly filterPlaceholder: { readonly type: StringConstructor; readonly default: "Search..."; }; readonly loading: { readonly type: BooleanConstructor; readonly default: false; }; readonly teleport: { readonly type: PropType; readonly default: false; }; readonly modelValue: { readonly type: BooleanConstructor; readonly default: undefined; }; readonly rootClass: { readonly type: PropType>; readonly default: ""; }; }; export declare const dropdownEmits: { command: (value: string | number, item: DropdownItem) => boolean; click: (e: MouseEvent) => boolean; 'visible-change': (visible: boolean) => boolean; 'update:modelValue': (value: boolean) => boolean; 'check-change': (item: DropdownItem, checked: boolean) => boolean; }; export type DropdownProps = ExtractPropTypes;