export interface CuiButtonDropdownProps { /** * Visual variant of the button — maps Figma Name + Type. Use `secondary` for * Name=Secondary, Type=filled. `primary` is a legacy alias for `secondary`. */ variant?: "hero" | "primary" | "secondary" | "secondary-outline" | "secondary-text"; /** Size of the button */ size?: "small" | "medium" | "large"; /** Whether the button is disabled */ disabled?: boolean; /** Whether the button is in loading state */ loading?: boolean; /** Whether the button should have a floating shadow */ floating?: boolean; /** Whether to use split mode (main button + separate dropdown trigger) */ split?: boolean; /** Custom dropdown icon name (Material Symbols) */ dropdownIcon?: string; /** Accessible label for the button */ ariaLabel?: string; /** Accessible label for the dropdown trigger (split mode) */ dropdownAriaLabel?: string; /** Controls dropdown visibility (v-model support) */ modelValue?: boolean; /** Element to append the dropdown to (default: body) */ appendTo?: string | HTMLElement; /** Minimum width for dropdown content */ contentMinWidth?: string; /** Maximum width for dropdown content */ contentMaxWidth?: string; /** Additional button props to pass through */ buttonProps?: Record; } declare function __VLS_template(): { attrs: Partial<{}>; slots: Readonly<{ /** * Default slot for dropdown content * Use this to provide the menu items or custom content that appears in the dropdown */ default?: () => any; /** * Label slot for button text content * Use this to customize the button label * Falls back to the default slot if not provided */ label?: () => any; }> & { /** * Default slot for dropdown content * Use this to provide the menu items or custom content that appears in the dropdown */ default?: () => any; /** * Label slot for button text content * Use this to customize the button label * Falls back to the default slot if not provided */ label?: () => any; }; refs: { buttonGroupRef: ({ $: import('vue').ComponentInternalInstance; $data: {}; $props: { readonly dt?: import('@primevue/core').DesignToken; readonly pt?: import('@primevue/core').PassThrough; readonly ptOptions?: import('primevue/passthrough').PassThroughOptions | undefined; readonly unstyled?: boolean | undefined; } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; $attrs: import('vue').Attrs; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import('vue').Slot | undefined; }>; $root: import('vue').ComponentPublicInstance | null; $parent: import('vue').ComponentPublicInstance | null; $host: Element | null; $emit: (event: string, ...args: any[]) => void; $el: any; $options: import('vue').ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof import('vue').nextTick; $watch any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle; } & Readonly<{}> & Omit & Readonly<{}>, never> & {} & import('vue').ComponentCustomProperties & {} & { $slots: Partial any>>; }) | null; buttonRef: { $props: import('primevue/button').ButtonProps & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; $slots: import('primevue/button').ButtonSlots; $emit: (e: string, ...args: any[]) => void; } | null; _floaterRef: ({ $: import('vue').ComponentInternalInstance; $data: {}; $props: { readonly activation?: "manual" | "click" | "hover" | "focus" | "touch" | undefined; readonly flip?: boolean | undefined; readonly inline?: boolean | undefined; readonly layer?: (HTMLDivElement | null) | undefined; readonly padding?: number | undefined; readonly position?: import('@floating-ui/utils').Placement | undefined; readonly reference: HTMLElement | null; readonly shift?: boolean | undefined; readonly modelValue?: boolean | undefined; readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; readonly onHide?: ((reference: HTMLElement | null) => any) | undefined; readonly onShow?: ((reference: HTMLElement | null) => any) | undefined; } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; $attrs: import('vue').Attrs; $refs: { [x: string]: unknown; } & { floater: HTMLDivElement; }; $slots: Readonly<{ [name: string]: import('vue').Slot | undefined; }>; $root: import('vue').ComponentPublicInstance | null; $parent: import('vue').ComponentPublicInstance | null; $host: Element | null; $emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "hide", reference: HTMLElement | null) => void) & ((event: "show", reference: HTMLElement | null) => void); $el: any; $options: import('vue').ComponentOptionsBase & Readonly<{ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; onHide?: ((reference: HTMLElement | null) => any) | undefined; onShow?: ((reference: HTMLElement | null) => any) | undefined; }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (value: boolean) => any; hide: (reference: HTMLElement | null) => any; show: (reference: HTMLElement | null) => any; }, string, { shift: boolean; modelValue: boolean; position: import('@floating-ui/utils').Placement; activation: "manual" | "click" | "hover" | "focus" | "touch"; flip: boolean; inline: boolean; layer: HTMLDivElement | null; padding: number; }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof import('vue').nextTick; $watch any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle; } & Readonly<{ shift: boolean; modelValue: boolean; position: import('@floating-ui/utils').Placement; activation: "manual" | "click" | "hover" | "focus" | "touch"; flip: boolean; inline: boolean; layer: HTMLDivElement | null; padding: number; }> & Omit & Readonly<{ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; onHide?: ((reference: HTMLElement | null) => any) | undefined; onShow?: ((reference: HTMLElement | null) => any) | undefined; }>, "shift" | "modelValue" | "position" | "activation" | "flip" | "inline" | "layer" | "padding"> & {} & import('vue').ComponentCustomProperties & {} & { $slots: Readonly<{ default?: void | undefined; }> & { default?: void | undefined; }; }) | null; dropdownContentRef: HTMLDivElement; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType; declare const __VLS_component: import('vue').DefineComponent void; /** * Show the dropdown */ show: () => void; /** * Hide the dropdown */ hide: () => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (value: boolean) => any; click: (event: MouseEvent) => any; hide: () => any; show: () => any; "before-show": () => any; "before-hide": () => any; }, string, import('vue').PublicProps, Readonly & Readonly<{ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; onClick?: ((event: MouseEvent) => any) | undefined; onHide?: (() => any) | undefined; onShow?: (() => any) | undefined; "onBefore-show"?: (() => any) | undefined; "onBefore-hide"?: (() => any) | undefined; }>, { split: boolean; size: "small" | "medium" | "large"; floating: boolean; modelValue: boolean; disabled: boolean; loading: boolean; appendTo: string | HTMLElement; dropdownIcon: string; contentMinWidth: string; contentMaxWidth: string; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { buttonGroupRef: ({ $: import('vue').ComponentInternalInstance; $data: {}; $props: { readonly dt?: import('@primevue/core').DesignToken; readonly pt?: import('@primevue/core').PassThrough; readonly ptOptions?: import('primevue/passthrough').PassThroughOptions | undefined; readonly unstyled?: boolean | undefined; } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; $attrs: import('vue').Attrs; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import('vue').Slot | undefined; }>; $root: import('vue').ComponentPublicInstance | null; $parent: import('vue').ComponentPublicInstance | null; $host: Element | null; $emit: (event: string, ...args: any[]) => void; $el: any; $options: import('vue').ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof import('vue').nextTick; $watch any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle; } & Readonly<{}> & Omit & Readonly<{}>, never> & {} & import('vue').ComponentCustomProperties & {} & { $slots: Partial any>>; }) | null; buttonRef: { $props: import('primevue/button').ButtonProps & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; $slots: import('primevue/button').ButtonSlots; $emit: (e: string, ...args: any[]) => void; } | null; _floaterRef: ({ $: import('vue').ComponentInternalInstance; $data: {}; $props: { readonly activation?: "manual" | "click" | "hover" | "focus" | "touch" | undefined; readonly flip?: boolean | undefined; readonly inline?: boolean | undefined; readonly layer?: (HTMLDivElement | null) | undefined; readonly padding?: number | undefined; readonly position?: import('@floating-ui/utils').Placement | undefined; readonly reference: HTMLElement | null; readonly shift?: boolean | undefined; readonly modelValue?: boolean | undefined; readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; readonly onHide?: ((reference: HTMLElement | null) => any) | undefined; readonly onShow?: ((reference: HTMLElement | null) => any) | undefined; } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; $attrs: import('vue').Attrs; $refs: { [x: string]: unknown; } & { floater: HTMLDivElement; }; $slots: Readonly<{ [name: string]: import('vue').Slot | undefined; }>; $root: import('vue').ComponentPublicInstance | null; $parent: import('vue').ComponentPublicInstance | null; $host: Element | null; $emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "hide", reference: HTMLElement | null) => void) & ((event: "show", reference: HTMLElement | null) => void); $el: any; $options: import('vue').ComponentOptionsBase & Readonly<{ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; onHide?: ((reference: HTMLElement | null) => any) | undefined; onShow?: ((reference: HTMLElement | null) => any) | undefined; }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (value: boolean) => any; hide: (reference: HTMLElement | null) => any; show: (reference: HTMLElement | null) => any; }, string, { shift: boolean; modelValue: boolean; position: import('@floating-ui/utils').Placement; activation: "manual" | "click" | "hover" | "focus" | "touch"; flip: boolean; inline: boolean; layer: HTMLDivElement | null; padding: number; }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof import('vue').nextTick; $watch any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle; } & Readonly<{ shift: boolean; modelValue: boolean; position: import('@floating-ui/utils').Placement; activation: "manual" | "click" | "hover" | "focus" | "touch"; flip: boolean; inline: boolean; layer: HTMLDivElement | null; padding: number; }> & Omit & Readonly<{ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; onHide?: ((reference: HTMLElement | null) => any) | undefined; onShow?: ((reference: HTMLElement | null) => any) | undefined; }>, "shift" | "modelValue" | "position" | "activation" | "flip" | "inline" | "layer" | "padding"> & {} & import('vue').ComponentCustomProperties & {} & { $slots: Readonly<{ default?: void | undefined; }> & { default?: void | undefined; }; }) | null; dropdownContentRef: HTMLDivElement; }, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };