import type { BlokkliIcon } from '#blokkli-build/icons'; type __VLS_Props = { /** * Unique identifier for this toolbar button. */ id: string; /** * The title displayed in the tooltip. */ title: string; /** * Which toolbar region to render the button in. * * Different regions appear in different locations of the toolbar. */ region: 'title' | 'after-title' | 'before-title' | 'before-sidebar' | 'after-menu' | 'before-sidebar-right' | 'view-options' | 'artboard'; /** * Whether the button is only available in edit mode. * * If true, the button is hidden in preview mode. */ editOnly?: boolean; /** * Whether the button is disabled. */ disabled?: boolean; /** * Whether the button should be displayed in an active state. * * Useful when the button opens a dropdown or toggles a feature. */ active?: boolean; /** * Whether the keyboard shortcut needs the meta modifier key. * * On Mac this is Cmd, on Windows/Linux this is Ctrl. */ meta?: boolean; /** * Whether the keyboard shortcut needs the shift modifier key. */ shift?: boolean; /** * The key code to use for the keyboard shortcut. * * @example 'h' for the "h" key */ keyCode?: string; /** * Optional icon to display in the button. */ icon?: BlokkliIcon; /** * The keyboard shortcut group. * * Used for organizing shortcuts in the shortcuts panel. */ shortcutGroup?: string; /** * Optional text for the interactive tour. * * If provided, this button will be included in the editor tour. */ tourText?: string; /** * The weight, used for positioning the button. * * Lower weights appear first. */ weight?: number | string; /** * Whether to skip registering this button as a command. * * Useful when you want the button UI without command palette integration. */ noCommand?: boolean; }; declare var __VLS_7: {}, __VLS_14: {}, __VLS_30: {}; type __VLS_Slots = {} & { default?: (props: typeof __VLS_7) => any; } & { 'icon-addon'?: (props: typeof __VLS_14) => any; } & { after?: (props: typeof __VLS_30) => any; }; declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, { el: any; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { click: (...args: any[]) => void; }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onClick?: ((...args: any[]) => any) | undefined; }>, {}, {}, {}, {}, 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; }; };