import React from "react"; import { Label } from "../Label/index.js"; interface FormComponentLabelProps extends React.HTMLAttributes { text?: React.ReactElement | React.ReactNode; invalid?: boolean; required?: boolean; disabled?: boolean; hint?: React.ReactNode; htmlFor?: string; } declare const FormComponentLabel: (({ htmlFor, text, required, disabled, hint, invalid, className, ...props }: FormComponentLabelProps) => React.JSX.Element | null) & { original: ({ htmlFor, text, required, disabled, hint, invalid, className, ...props }: FormComponentLabelProps) => React.JSX.Element | null; originalName: string; displayName: string; } & { original: (({ htmlFor, text, required, disabled, hint, invalid, className, ...props }: FormComponentLabelProps) => React.JSX.Element | null) & { original: ({ htmlFor, text, required, disabled, hint, invalid, className, ...props }: FormComponentLabelProps) => React.JSX.Element | null; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types").ComponentDecorator<(({ htmlFor, text, required, disabled, hint, invalid, className, ...props }: FormComponentLabelProps) => React.JSX.Element | null) & { original: ({ htmlFor, text, required, disabled, hint, invalid, className, ...props }: FormComponentLabelProps) => React.JSX.Element | null; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; }; export { FormComponentLabel, type FormComponentLabelProps };