import type { ReactElement, ReactNode, RefAttributes } from "react";
import type { DOMProps } from "../../types/dom";
import "./Fieldset.css";
export type LegendProps = {
    id?: string;
    className?: string;
};
export type FieldsetElementType = HTMLDivElement;
export interface FieldsetProps extends DOMProps, RefAttributes<FieldsetElementType> {
    legend?: string;
    children: ReactNode;
    className?: string;
    legendComponent?: ReactElement;
}
declare function Fieldset({ ref: _ref, ...props }: FieldsetProps): import("react/jsx-runtime").JSX.Element;
declare namespace Fieldset {
    var displayName: string;
}
export { Fieldset };
