import './FormControlLabel.css'; import type { ReactNode, ElementType, HTMLAttributes } from 'react'; import type { FormElementSizeVariant } from '../../types/FormElementSizeVariant'; import { type PolymorphicComponentPropsWithoutRef } from '../../utils/polymorphicComponentWithRef'; export type FormControlLabelSizeVariant = FormElementSizeVariant; export declare const formControlLabelAlignVariant: readonly ["top", "bottom", "center"]; export type FormControlLabelAlignVariant = (typeof formControlLabelAlignVariant)[number]; export declare const formControlLabelLabelPlacementVariant: readonly ["left", "right"]; export type FormControlLabelLabelPlacementVariant = (typeof formControlLabelLabelPlacementVariant)[number]; export type FormControlLabelBaseProps = { /** Лейбл */ label?: ReactNode; /** Содержимое компонента */ children?: ReactNode; /** Расположение лейбла относительно содержимого компонента */ labelPlacement?: FormControlLabelLabelPlacementVariant; /** Вертикальное выравнивание лейбла относительно содержимого компонента */ align?: FormControlLabelAlignVariant; /** Размер (влияет на шрифт лейбла и отступ между лейблом и содержимым компонента) */ size?: FormControlLabelSizeVariant; /** Если {true} визуализирует компонент как заблокированный */ disabled?: boolean; /** Дополнительные CSS-классы */ className?: string; /** Свойства нативного элемента span */ spanProps?: HTMLAttributes; }; export type FormControlLabelProps = PolymorphicComponentPropsWithoutRef; export declare const cnFormControlLabel: import("@bem-react/classname").ClassNameFormatter; export declare const FormControlLabel: import("../../utils/polymorphicComponentWithRef").PolymorphicComponentWithRef;