import { Scope } from '@zag-js/core'; import { Point } from '@zag-js/rect-utils'; import { MenuService } from './menu.types.js'; import '@zag-js/dismissable'; import '@zag-js/dom-query'; import '@zag-js/popper'; import '@zag-js/types'; declare function closeRootMenu(ctx: { parent: MenuService | null | undefined; }): void; declare function isWithinPolygon(polygon: Point[] | null, point: Point): boolean; declare function resolveItemId(children: Record, value: string | null, scope: Scope): any; declare function setParentRoutingLock(parent: MenuService | null | undefined, locked: boolean): void; declare function unlockParentAfterChildClose(parent: MenuService | null | undefined, childIsSubmenu: boolean): void; declare function unlockParentOnSubmenuClose(parent: MenuService | null | undefined): void; export { closeRootMenu, isWithinPolygon, resolveItemId, setParentRoutingLock, unlockParentAfterChildClose, unlockParentOnSubmenuClose };