import type { ITableLegendOption } from '../../ts-types/component/legend';
import { DiscreteTableLegend } from './discrete-legend/discrete-legend';
import type { BaseTableAPI } from '../../ts-types/base-table';
import { ContinueTableLegend } from './continue-legend/continue-legend';
export type CreateLegend = (option: ITableLegendOption, table: BaseTableAPI) => DiscreteTableLegend | ContinueTableLegend;
export declare function createLegend(option: ITableLegendOption, table: BaseTableAPI): DiscreteTableLegend | ContinueTableLegend;
