import { RadioGroupContextValue, radioGroupContext } from "../radio-group/context.js"; import { MenuCore, MenuOptionState, MenuState } from "@videojs/core"; import { MenuApi, MenuPopupApi } from "@videojs/core/dom"; //#region src/ui/menu/context.d.ts export interface MenuContextValue { /** @internal The menu core that owns this menu; parts read `state` instead. */ core: MenuCore; menu: MenuApi; popup: MenuPopupApi; state: MenuState; /** Publish option state to this menu and its parent trigger. */ setOptionState: (source: symbol, state: MenuOptionState | null) => void; } /** @internal */ export interface MenuGroupContextValue { registerLabel: (id: string) => () => void; } /** @internal */ export declare const menuContext: { __context__: MenuContextValue; }; /** @internal */ export declare const menuGroupContext: { __context__: MenuGroupContextValue; }; //#endregion export { type RadioGroupContextValue as MenuRadioGroupContextValue, radioGroupContext as menuRadioGroupContext }; //# sourceMappingURL=context.d.ts.map