/// <reference types="react" />
import { type TypographyProps } from "../typography/Typography.js";
/**
 * @remarks \@since 6.0.0
 */
export interface LegendProps extends TypographyProps {
    /**
     * @defaultValue `false`
     */
    srOnly?: boolean;
}
/**
 * **Server Component**
 *
 * This should be used within a `Fieldset` to apply a label.
 *
 * @remarks \@since 6.0.0
 */
export declare const Legend: import("react").ForwardRefExoticComponent<LegendProps & import("react").RefAttributes<HTMLLegendElement>>;
