import type { IDiscreteTableLegendOption } from '../../../ts-types/component/legend'; import type { BaseTableAPI } from '../../../ts-types/base-table'; import { DiscreteLegend } from './../../../vrender'; import type { IOrientType } from '../../../ts-types/component/util'; export declare class DiscreteTableLegend { table: BaseTableAPI; option: IDiscreteTableLegendOption; orient: IOrientType; visible: boolean; position: 'start' | 'middle' | 'end'; selectedData: (string | number)[]; legendComponent: DiscreteLegend; constructor(option: IDiscreteTableLegendOption, table: BaseTableAPI); createComponent(): void; resize(): void; adjustTableSize(attrs: any): void; getLegendAttributes(rect: any): any; getLegendItems(): import("@visactor/vrender-components/es/legend/discrete/type").LegendItemDatum[]; initEvent(): void; getLegendBounds(): { width: number; height: number; }; release(): void; }