import { type FC, HTMLAttributes } from 'react';
export type LegendSize = 'small' | 'medium' | 'large';
export interface LegendProps extends HTMLAttributes {
className?: string;
size?: LegendSize;
bold?: boolean;
}
export declare const StyledLegend: import("styled-components").StyledComponent<"legend", import("styled-components").DefaultTheme, {
$size: LegendProps["size"];
$bold: LegendProps["bold"];
$isMobile: boolean;
}, never>;
export declare const Legend: FC;