import React from 'react'; import { type ComposableProps } from '../../../lib/slot'; export interface LabelProps extends Omit, 'as'> { /** * The text content of the label */ children: React.ReactNode; /** * Whether the field is mandatory (shows red asterisk) */ mandatory?: boolean; /** * Whether the field is optional (shows "(Optional)" text) */ optional?: boolean; /** * Whether to show a suffix icon (info/alert icon) */ suffixIcon?: boolean; /** * Custom icon to use instead of default AlertTriangle */ icon?: React.ReactNode; /** * HTML element to render as (default: 'label') */ as?: 'label' | 'span' | 'div'; /** * Additional CSS classes */ className?: string; /** * HTML attributes for the label element */ htmlFor?: string; /** * Click handler */ onClick?: () => void; } export declare const Label: React.FC; //# sourceMappingURL=Label.d.ts.map