import { VariantProps } from 'class-variance-authority'; import * as React from 'react'; import * as LabelPrimitive from '@radix-ui/react-label'; /** * Label variants for different states and styles */ declare const labelVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string; /** * FormLabel component props */ export interface FormLabelProps extends React.ComponentPropsWithoutRef, VariantProps { /** Whether the field is required. Renders a red asterisk. */ required?: boolean; /** Whether the field is optional. Renders muted "(optional)" suffix. Ignored if `required`. */ optional?: boolean; } /** * FormLabel component - Accessible label for form fields * * Uses Radix UI Label primitive for accessibility. * Automatically connects to form field via context. * Shows error state and required indicator. * * @example * ```tsx * ( * * Email Address * * * * * * )} * /> * ``` */ export declare function FormLabel({ ref, className, required, optional, children, ...props }: FormLabelProps & { ref?: React.Ref>; }): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=FormLabel.d.ts.map