import { HTMLAttributes, InputHTMLAttributes, PropsWithChildren, ReactNode } from 'react';
export type BaseFormControlProps = {
label?: string;
description?: string | ReactNode;
before?: ReactNode | string;
after?: ReactNode | string;
shadow?: boolean;
value?: Value;
onChange?: (name: string | undefined, value: Value) => void;
/**
* The input size
*/
size?: "small" | string;
};
export type FormControlProps = InputHTMLAttributes> = BaseFormControlProps & Omit;
export declare function cleanFormControlProps(props: FormControlProps, omitted?: string[]): any;
export declare function FormControl({ children, name, id, required, before, after, description, label, size, className }: PropsWithChildren>): import("react/jsx-runtime").JSX.Element;