import { type Dispatch, type PropsWithChildren, type ReactElement, type ReactNode, type SetStateAction } from 'react'; export type ActiveSeriesMenuProps = { actions: (() => Promise) | undefined; defaultActions: ReactNode; header: ReactElement; delay: number; /** * Vertical offset, in pixels, of the active series item's top edge relative * to the tooltip wrapper. Used to align the menu with the hovered series item * when the menu opens to the right or left of the tooltip. */ alignOffset: number; }; type ContextValue = { menuProps: ActiveSeriesMenuProps | null; setMenuProps: Dispatch>; }; export declare const useActiveSeriesMenu: () => ContextValue; /** * @internal */ export declare const ActiveSeriesMenuProvider: ({ children }: PropsWithChildren) => import("react").JSX.Element; export {}; //# sourceMappingURL=ActiveSeriesMenuContext.d.ts.map