import { ID } from "../../types/index.mjs"; import { AtomProps } from "../Atom/Atom.vue.mjs"; import "../Atom/index.mjs"; import { MaybeRefOrGetter } from "vue"; //#region src/components/Menu/MenuActivator.vue.d.ts interface MenuActivatorProps extends AtomProps { /** Layer this activator opens. Omit it to use Menu.Root's `value`. */ value?: ID; /** Disables this activator */ disabled?: boolean | MaybeRefOrGetter; /** Injection key of the owning menu. @default 'v0:menu' */ namespace?: string; } interface MenuActivatorSlotProps { /** Whether this activator's menu is open */ isOpen: boolean; /** Whether this activator is disabled */ isDisabled: boolean; /** Attributes for the activator element */ attrs: { 'id': string; 'type': 'button' | undefined; 'role': 'button' | 'menuitem' | undefined; 'tabindex': number; 'aria-haspopup': 'menu'; 'aria-expanded': boolean; 'aria-controls': string; 'aria-disabled': boolean | undefined; 'disabled': true | undefined; 'data-open': true | undefined; 'data-state': 'open' | 'closed'; 'data-disabled': true | undefined; 'data-highlighted': true | undefined; 'style': { anchorName: string; }; 'onClick': (event: MouseEvent) => void; 'onKeydown': (event: KeyboardEvent) => void; 'onPointerenter': () => void; 'onPointerleave': () => void; 'onFocus': () => void; }; } declare const _default: typeof __VLS_export; declare const __VLS_export: __VLS_WithSlots & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, { default: (props: MenuActivatorSlotProps) => any; }>; type __VLS_WithSlots = T & { new (): { $slots: S; }; }; //#endregion export { MenuActivatorProps, MenuActivatorSlotProps, _default as default };