import type { BlokkliIcon } from '#blokkli-build/icons'; type __VLS_Props = { /** * Unique identifier for this item action. */ id: string; /** * The title of the action. * * Displayed in the tooltip and keyboard shortcut hints. */ title: string; description?: string; /** * Whether the action is disabled. * * When a string is provided, the button is disabled and the string is * displayed as the tooltip text explaining why. */ disabled?: boolean | string; /** * Whether the button should be displayed in an active state. * * Useful when the action opens a dropdown or dialog. */ active?: boolean; /** * The key code to use for the keyboard shortcut. * * @example 'c' for the "c" key */ keyCode?: string; /** * Whether the shortcut needs the meta modifier key. * * On Mac this is Cmd, on Windows/Linux this is Ctrl. */ meta?: boolean; /** * Whether the action supports multiple items. * * If false, the action is disabled when more than one item is selected. */ multiple?: boolean; /** * Whether the action is only available in edit mode. * * If true, the action is hidden in preview mode. */ editOnly?: boolean; /** * The weight, used for positioning the button. * * Lower weights appear first. Use 'last' to always position at the end. */ weight?: number | string | 'last'; /** * Whether the action should be hidden. * * Unlike disabled, this completely hides the button via v-show. */ hidden?: boolean; /** * When true, the disabled reason tooltip is rendered in lime (success) * instead of the default yellow (warning). * * Use this when the disabled state is a positive outcome rather than an error. */ disabledReasonSuccess?: boolean; /** * Optional icon to display in the button. */ icon?: BlokkliIcon; /** * Optional text for the interactive tour. * * If provided, this action will be included in the editor tour. */ tourText?: string; }; declare var __VLS_7: {}, __VLS_14: {}, __VLS_36: { items: any; uuids: any; }; type __VLS_Slots = {} & { icon?: (props: typeof __VLS_7) => any; } & { 'icon-addon'?: (props: typeof __VLS_14) => any; } & { default?: (props: typeof __VLS_36) => any; }; declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { click: (items: RenderedFieldListItem[]) => any; }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onClick?: ((items: RenderedFieldListItem[]) => any) | undefined; }>, { keyCode: string; disabled: boolean | string; icon: BlokkliIcon; active: boolean; weight: number | string | "last"; tourText: string; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };