import { FC, HTMLAttributes, ReactElement, Ref } from "react";
//#region src/components/form/form-control/form-control.d.ts
type FormControlProps = {
disabled?: boolean;
invalid?: boolean;
required?: boolean;
label: string;
labelAs?: 'label' | 'legend';
helpText?: string;
errorText?: string | undefined;
renderInput: (props: {
id: string;
'aria-describedby': string | undefined;
'aria-labelledby': string;
disabled: boolean;
invalid: boolean;
required: boolean;
}) => ReactElement;
ref?: Ref;
} & Omit, 'className' | 'style' | 'children'>;
declare const FormControl: FC;
//#endregion
export { FormControl };