import { LegendMenuController } from './contexts'; /** * Run an async menu action with busy gating. Uses `isBusy()` (ref-backed) so a * second click before React re-renders cannot fire the handler twice. Keeps * the menu open while pending, then clears busy and closes when it settles. */ export declare function runAsyncMenuAction(menu: LegendMenuController, action: () => void | Promise): Promise;