import * as LabelPrimitive from "@radix-ui/react-label"; import React, { ComponentPropsWithoutRef } from "react"; import { TextBodyProps } from "../Text"; export type LabelProps = ComponentPropsWithoutRef & TextBodyProps & { /** * Renders an asterisk after the label to indicate that the field is required. */ required?: boolean; /** * Renders the label visually hidden but still accessible to screen readers. */ visuallyHidden?: boolean; }; /** * Renders an accessible label associated with controls. */ export declare const Label: React.ForwardRefExoticComponent, "ref"> & Omit, HTMLSpanElement>, "ref"> & { asChild?: boolean; } & import("tailwind-variants").VariantProps>> & import("../..").TextColorVariantProps & React.RefAttributes, "ref"> & { /** * Renders an asterisk after the label to indicate that the field is required. */ required?: boolean; /** * Renders the label visually hidden but still accessible to screen readers. */ visuallyHidden?: boolean; } & React.RefAttributes>; //# sourceMappingURL=Label.d.ts.map