import { MaybeRef, MaybeRefOrGetter, VNodeChild } from 'vue'; export interface DropdownAction { label: string | (() => VNodeChild); icon?: string; action: () => void; disable?: boolean | (() => boolean); condition?: () => boolean; } export interface MappedDropdownAction { label: string | (() => VNodeChild); icon?: () => VNodeChild; disabled: boolean; hidden: boolean; props: { onClick: () => void; }; } type RawActionItems = Array; export declare function useDropdownActions(actions: RawActionItems | MaybeRefOrGetter | MaybeRef): globalThis.ComputedRef<({ type: string; hidden: boolean; key: string; } | { disabled: boolean; hidden: boolean; props: { onClick: () => void; }; icon?: (() => import("vue/jsx-runtime").JSX.Element) | undefined; key: string; label: string | (() => VNodeChild); type?: undefined; })[]>; export {};