import { type IntlShape } from "react-intl"; import { type ITheme } from "@gooddata/sdk-model"; import { type ILegendOptions, type LegendOptionsItemType } from "@gooddata/sdk-ui-vis-commons"; import { type IChartOptions } from "../typings/unsafe.js"; export declare function shouldLegendBeEnabled(chartOptions: IChartOptions): boolean; export declare function getLegendItems(chartOptions: IChartOptions, theme: ITheme | undefined, intl?: IntlShape): LegendOptionsItemType[]; export declare function buildLegendOptions(legendConfig: any, chartOptions: IChartOptions, theme: ITheme | undefined, intl?: IntlShape): ILegendOptions; //# sourceMappingURL=legendBuilder.d.ts.map