import { BoxProps, ElementProps, Factory, MantineRadius, StylesApiProps } from '../../core';
export type FieldsetStylesNames = 'root' | 'legend';
export type FieldsetVariant = 'default' | 'filled' | 'unstyled';
export type FieldsetCSSVariables = {
    root: '--fieldset-radius';
};
export interface FieldsetProps extends BoxProps, StylesApiProps<FieldsetFactory>, ElementProps<'fieldset'> {
    /** Fieldset legend */
    legend?: React.ReactNode;
    /** Key of `theme.radius` or any valid CSS value to set `border-radius` @default theme.defaultRadius */
    radius?: MantineRadius;
}
export type FieldsetFactory = Factory<{
    props: FieldsetProps;
    ref: HTMLFieldSetElement;
    stylesNames: FieldsetStylesNames;
    vars: FieldsetCSSVariables;
    variant: FieldsetVariant;
}>;
export declare const Fieldset: import("../..").MantineComponent<{
    props: FieldsetProps;
    ref: HTMLFieldSetElement;
    stylesNames: FieldsetStylesNames;
    vars: FieldsetCSSVariables;
    variant: FieldsetVariant;
}>;
export declare namespace Fieldset {
    type Props = FieldsetProps;
    type StylesNames = FieldsetStylesNames;
    type Factory = FieldsetFactory;
    type Variant = FieldsetVariant;
}
