import { type PropsWithChildren, type ReactElement } from 'react'; import { LegendItem } from '../types/legend.js'; export type LegendActionTemplate = (t: LegendItem) => ReactElement | undefined; /** * Return the series action template with the original series entity */ export declare function useLegendSeriesActions(series: T[], getId: (series: T) => string): LegendActionTemplate;