import { HeadingSize, HeadingTag } from '../Heading/Heading.utils';
import { FieldsetProps } from './Fieldset';
export type Legend = string | {
    /** The text content for the legend. */
    headingText: string;
    /** Defines the size of the heading, using predefined size types.
     * @default 'medium'
     */
    headingSize?: HeadingSize;
    /** Specifies the HTML tag to be used for the heading, such as 'h1', 'h2', etc.
     * @default 'h2'
     */
    headingTag?: HeadingTag;
};
type ValidationProps = Pick<FieldsetProps, 'description' | 'hideLegend' | 'id' | 'legend' | 'popoverContent' | 'systemFeedback'>;
export declare const validateFieldsetProps: ({ description, hideLegend, id, legend, popoverContent, systemFeedback, }: ValidationProps) => void;
export {};
