import { ReactNode, LabelHTMLAttributes } from 'react';
declare type LabelContext = {
id: string;
};
declare type LabelProps = LabelHTMLAttributes & Partial<{
labelId: string;
label: string;
readOnly: boolean;
value: string;
className: string;
labelClassName: string;
required: boolean;
vertical: boolean;
error: string;
showError: boolean;
children: ((context: LabelContext) => ReactNode);
}>;
export default function Label({ labelId, label, readOnly, error, vertical, showError, required, className, labelClassName, children, ...rest }: LabelProps): JSX.Element;
export {};