import { OuiMenuItem } from './_types'; type OuiMenuCreator = (value: T, ...args: any) => OuiMenuItem[]; type OuiMenuItemSource = (OuiMenuItem | false | undefined | null)[] | OuiMenuCreator; /** * Context menu emulation. * * If triggered by BUTTON it will show as a drop down, else close to the mouse position. */ export declare function useMenu(itemsSource: OuiMenuItemSource): (...args: any) => void; /** Menu function where an argument can be passed, like: `const menu = useMenuWithValue(value => [...])` then in HTML `v-menu="menu(item)"` */ export declare function useMenuWithValue(itemsSource: OuiMenuCreator): (value: T) => (...args: any) => void; export {};