import type { App } from 'vue'; import type { ArcoOptions } from '../_utils/types'; import _Dropdown from './dropdown'; import _DropdownOption from './dropdown-option'; import _DropdownGroup from './dropdown-group'; import _DropdownSubmenu from './dropdown-submenu'; import _DropdownButton from './dropdown-button'; declare const Dropdown: { new (...args: any[]): import("vue").CreateComponentPublicInstance; default: string; }; position: { type: import("vue").PropType; default: string; }; popupContainer: { type: import("vue").PropType; }; popupMaxHeight: { type: (BooleanConstructor | NumberConstructor)[]; default: boolean; }; hideOnSelect: { type: BooleanConstructor; default: boolean; }; }>> & { "onUpdate:popupVisible"?: ((visible: boolean) => any) | undefined; onPopupVisibleChange?: ((visible: boolean) => any) | undefined; onSelect?: ((value: string | number | Record | undefined, ev: Event) => any) | undefined; }, { prefixCls: string; computedPopupVisible: import("vue").ComputedRef; handlePopupVisibleChange: (visible: boolean) => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { 'update:popupVisible': (visible: boolean) => true; popupVisibleChange: (visible: boolean) => true; select: (value: string | number | Record | undefined, ev: Event) => true; }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly; default: string; }; position: { type: import("vue").PropType; default: string; }; popupContainer: { type: import("vue").PropType; }; popupMaxHeight: { type: (BooleanConstructor | NumberConstructor)[]; default: boolean; }; hideOnSelect: { type: BooleanConstructor; default: boolean; }; }>> & { "onUpdate:popupVisible"?: ((visible: boolean) => any) | undefined; onPopupVisibleChange?: ((visible: boolean) => any) | undefined; onSelect?: ((value: string | number | Record | undefined, ev: Event) => any) | undefined; }, { popupVisible: boolean; defaultPopupVisible: boolean; trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[]; position: import("./interface").DropdownPosition; popupMaxHeight: number | boolean; hideOnSelect: boolean; }, true, {}, {}, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly; default: string; }; position: { type: import("vue").PropType; default: string; }; popupContainer: { type: import("vue").PropType; }; popupMaxHeight: { type: (BooleanConstructor | NumberConstructor)[]; default: boolean; }; hideOnSelect: { type: BooleanConstructor; default: boolean; }; }>> & { "onUpdate:popupVisible"?: ((visible: boolean) => any) | undefined; onPopupVisibleChange?: ((visible: boolean) => any) | undefined; onSelect?: ((value: string | number | Record | undefined, ev: Event) => any) | undefined; }, { prefixCls: string; computedPopupVisible: import("vue").ComputedRef; handlePopupVisibleChange: (visible: boolean) => void; }, {}, {}, {}, { popupVisible: boolean; defaultPopupVisible: boolean; trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[]; position: import("./interface").DropdownPosition; popupMaxHeight: number | boolean; hideOnSelect: boolean; }>; __isFragment?: undefined; __isTeleport?: undefined; __isSuspense?: undefined; } & import("vue").ComponentOptionsBase; default: string; }; position: { type: import("vue").PropType; default: string; }; popupContainer: { type: import("vue").PropType; }; popupMaxHeight: { type: (BooleanConstructor | NumberConstructor)[]; default: boolean; }; hideOnSelect: { type: BooleanConstructor; default: boolean; }; }>> & { "onUpdate:popupVisible"?: ((visible: boolean) => any) | undefined; onPopupVisibleChange?: ((visible: boolean) => any) | undefined; onSelect?: ((value: string | number | Record | undefined, ev: Event) => any) | undefined; }, { prefixCls: string; computedPopupVisible: import("vue").ComputedRef; handlePopupVisibleChange: (visible: boolean) => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { 'update:popupVisible': (visible: boolean) => true; popupVisibleChange: (visible: boolean) => true; select: (value: string | number | Record | undefined, ev: Event) => true; }, string, { popupVisible: boolean; defaultPopupVisible: boolean; trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[]; position: import("./interface").DropdownPosition; popupMaxHeight: number | boolean; hideOnSelect: boolean; }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & { Option: import("vue").DefineComponent<{ value: { type: (ObjectConstructor | StringConstructor | NumberConstructor)[]; }; disabled: { type: BooleanConstructor; default: boolean; }; active: BooleanConstructor; uninjectContext: BooleanConstructor; }, { prefixCls: string; cls: import("vue").ComputedRef<(string | { [x: string]: boolean; })[]>; liRef: import("vue").Ref; handleClick: (ev: MouseEvent) => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { click: (ev: MouseEvent) => true; }, string, import("vue").PublicProps, Readonly> & { onClick?: ((ev: MouseEvent) => any) | undefined; }, { disabled: boolean; active: boolean; uninjectContext: boolean; }, {}>; Group: import("vue").DefineComponent<{ title: StringConstructor; }, { prefixCls: string; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>, {}, {}>; Submenu: import("vue").DefineComponent<{ value: { type: (StringConstructor | NumberConstructor)[]; }; disabled: { type: BooleanConstructor; default: boolean; }; trigger: { type: import("vue").PropType<"hover" | "click" | ("hover" | "click")[]>; default: string; }; position: { type: import("vue").PropType<"lt" | "rt">; default: string; }; popupVisible: { type: BooleanConstructor; default: undefined; }; defaultPopupVisible: { type: BooleanConstructor; default: boolean; }; optionProps: { type: ObjectConstructor; }; }, { prefixCls: string; computedPopupVisible: import("vue").ComputedRef; handlePopupVisibleChange: (visible: boolean) => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { 'update:popupVisible': (visible: boolean) => true; popupVisibleChange: (visible: boolean) => true; }, string, import("vue").PublicProps, Readonly; default: string; }; position: { type: import("vue").PropType<"lt" | "rt">; default: string; }; popupVisible: { type: BooleanConstructor; default: undefined; }; defaultPopupVisible: { type: BooleanConstructor; default: boolean; }; optionProps: { type: ObjectConstructor; }; }>> & { "onUpdate:popupVisible"?: ((visible: boolean) => any) | undefined; onPopupVisibleChange?: ((visible: boolean) => any) | undefined; }, { popupVisible: boolean; defaultPopupVisible: boolean; trigger: "hover" | "click" | ("hover" | "click")[]; position: "lt" | "rt"; disabled: boolean; }, {}>; Button: import("vue").DefineComponent<{ popupVisible: { type: BooleanConstructor; default: undefined; }; defaultPopupVisible: { type: BooleanConstructor; default: boolean; }; trigger: { type: import("vue").PropType<"hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[]>; default: string; }; position: { type: import("vue").PropType<"top" | "tl" | "tr" | "bottom" | "bl" | "br">; default: string; }; popupContainer: { type: import("vue").PropType; }; disabled: { type: BooleanConstructor; default: boolean; }; type: { type: StringConstructor; }; size: { type: StringConstructor; }; buttonProps: { type: import("vue").PropType; }; hideOnSelect: { type: BooleanConstructor; default: boolean; }; }, { prefixCls: string; computedPopupVisible: import("vue").ComputedRef; handleClick: (ev: MouseEvent) => void; handleSelect: (value: string | number | Record | undefined, ev: Event) => void; handlePopupVisibleChange: (visible: boolean) => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { 'update:popupVisible': (visible: boolean) => true; popupVisibleChange: (visible: boolean) => true; click: (ev: MouseEvent) => true; select: (value: string | number | Record | undefined, ev: Event) => true; }, string, import("vue").PublicProps, Readonly; default: string; }; position: { type: import("vue").PropType<"top" | "tl" | "tr" | "bottom" | "bl" | "br">; default: string; }; popupContainer: { type: import("vue").PropType; }; disabled: { type: BooleanConstructor; default: boolean; }; type: { type: StringConstructor; }; size: { type: StringConstructor; }; buttonProps: { type: import("vue").PropType; }; hideOnSelect: { type: BooleanConstructor; default: boolean; }; }>> & { "onUpdate:popupVisible"?: ((visible: boolean) => any) | undefined; onPopupVisibleChange?: ((visible: boolean) => any) | undefined; onSelect?: ((value: string | number | Record | undefined, ev: Event) => any) | undefined; onClick?: ((ev: MouseEvent) => any) | undefined; }, { popupVisible: boolean; defaultPopupVisible: boolean; trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[]; position: "top" | "tl" | "tr" | "bottom" | "bl" | "br"; disabled: boolean; hideOnSelect: boolean; }, {}>; install: (app: App, options?: ArcoOptions | undefined) => void; }; export declare type DropdownInstance = InstanceType; export declare type DropdownOptionInstance = InstanceType; export declare type DropdownGroupInstance = InstanceType; export declare type DropdownSubmenuInstance = InstanceType; export declare type DropdownButtonInstance = InstanceType; export type { DropDownProps, DropdownOption, DOption, DGroup, DSubmenu, } from './interface'; export { _DropdownOption as Doption, _DropdownGroup as Dgroup, _DropdownSubmenu as Dsubmenu, _DropdownButton as DropdownButton, }; export default Dropdown;