import React from 'react'; import { type ComposableProps } from '../../../lib/slot'; export interface InputLabelProps extends Omit, 'htmlFor'> { /** * The label text. */ children: React.ReactNode; /** * Shows mandatory indicator (*) next to label * @default false */ mandatory?: boolean; /** * Shows optional indicator next to label * @default false */ optional?: boolean; /** * Shows suffix icon in label * @default false */ suffixIcon?: boolean; /** * Custom icon component for label */ icon?: React.ReactNode; } /** * InputLabel Component * * A composable label component for Input fields. * Automatically associates with the input field for accessibility. * * @public * * @example * ```tsx * * Email Address * * * ``` * * @remarks * - Wraps the Label component by default. * - Supports `asChild` prop to merge props with a custom child element. * - Automatically sets `htmlFor` to match the input field ID. * - Accessible: maintains proper label-input association. */ export declare const InputLabel: React.ForwardRefExoticComponent>; //# sourceMappingURL=InputLabel.d.ts.map