import type { IDiscreteLegendSpec } from './interface';
import type { ILayoutRect } from '../../../typings/layout';
export declare function getLegendAttributes(spec: IDiscreteLegendSpec, rect: ILayoutRect): any;
