import type { LegendOptions, ChartTypeRegistry } from 'chart.js';
import type { _DeepPartialObject } from 'chart.js/types/utils';
import type { ChartOptions } from './types';
export default function buildLegend(options: ChartOptions): _DeepPartialObject<LegendOptions<keyof ChartTypeRegistry>>;
