import type { VNodeChildren } from 'vue';
declare type MenuValue = string | number;
declare type MenuNode = MenuValue | VMenuData;
interface VMenuData {
    value: MenuValue;
    parent?: MenuNode;
    children: VMenuData[];
    vnode?: VNodeChildren;
}
interface VMenuItem {
    value?: MenuValue;
    parent: MenuValue;
    vnode?: VNodeChildren;
}
export default class VMenu {
    data: VMenuData;
    cache: Set<VMenuData>;
    isMutex: boolean;
    expandValues: Set<MenuValue>;
    constructor(options: Record<string, any>);
    add(item: VMenuItem): void;
    select(val: MenuValue): MenuValue[];
    expand(val: MenuValue): MenuValue[];
    getChild(value: MenuValue): VMenuData[];
}
export {};
