/** @jsxImportSource @emotion/react */ import { SerializedStyles } from '@emotion/react'; import React from 'react'; import { Button } from '../Button'; declare type LegendItemConfig = { value: ValueType; display: React.ReactNode; css?: SerializedStyles; }; export interface LegendProps extends React.ComponentProps { onItemClick: (item: LegendItemConfig) => void; onMouseEnter?: () => any; onMouseLeave?: () => any; menuItems: Array>; menuStyles?: string; menuItemStyles?: string; } export declare const Legend: () => import("@emotion/react/jsx-runtime").JSX.Element; export {};