import React, { ReactNode } from 'react';
import { GrafargTheme } from '@grafarg/data';
export interface LabelProps extends React.HTMLAttributes<HTMLLegendElement> {
    children: string | ReactNode;
    description?: string;
}
export declare const getLegendStyles: (theme: GrafargTheme) => {
    legend: string;
};
export declare const Legend: React.FC<LabelProps>;
