import type { UseMenuProps, UpdateFunc } from './use-menu.type'; import type { KeygenResult } from '../../common/type'; declare const useMenu: (props: UseMenuProps) => { openKeys: KeygenResult[] | undefined; onOpenChange: (cb: (before: KeygenResult[]) => KeygenResult[]) => void; bindUpdate: (id: string, updateItem: UpdateFunc) => void; unbindUpdate: (id: string) => void; changeActiveId: (id: string) => void; }; export default useMenu; //# sourceMappingURL=use-menu.d.ts.map