import { Client, Subscription } from "@opendaw/lib-std";
import { MenuItem } from "../menu/MenuItems";
export declare namespace ContextMenu {
    const CONTEXT_MENU_EVENT_TYPE: "--context-menu";
    type MenuFactory = (menuItem: MenuItem, client: Client) => void;
    interface Collector {
        addItems(...items: MenuItem[]): this;
        get client(): Client;
    }
    const install: (owner: WindowProxy, menuFactory: MenuFactory) => Subscription;
    const subscribe: (target: EventTarget, collect: (collector: Collector) => unknown) => Subscription;
}
//# sourceMappingURL=ContextMenu.d.ts.map