import { type FieldsetHTMLAttributes } from "react";
/** @remarks \@since 6.0.0 */
export interface FieldsetClassNameOptions {
    className?: string;
    /**
     * Set this to `true` to enable the default browser styles for a fieldset.
     *
     * @remarks \@since 6.0.0 This was renamed from `unstyled`.
     * @defaultValue `false`
     */
    browserStyles?: boolean;
    /**
     * @defaultValue `false`
     */
    fullWidth?: boolean;
}
/**
 * @remarks \@since 6.0.0
 */
export declare function fieldset(options?: FieldsetClassNameOptions): string;
/**
 * **Server Component**
 *
 * @remarks \@since 6.0.0 Removed the `legend`, `legendStyle`,
 * `legendClassName`, and `legendSROnly` props. You must provide a `Legend`
 * yourself manually instead of using a prop.
 */
export interface FieldsetProps extends FieldsetHTMLAttributes<HTMLFieldSetElement>, FieldsetClassNameOptions {
}
/**
 * @example
 * Simple Example
 * ```tsx
 * import { Form, Fieldset, Legend } from "@react-md/core";
 *
 * function Example(): ReactElement {
 *   return (
 *     <Form>
 *       <Fieldset>
 *         <Legend>Some Title</Legend>
 *         // form components
 *       </Fieldset>
 *     </Form>
 *   );
 * }
 * ```
 */
export declare const Fieldset: import("react").ForwardRefExoticComponent<FieldsetProps & import("react").RefAttributes<HTMLFieldSetElement>>;
