import { ReactChild, RefForwardingComponent } from "react";
declare type TextInputProps = {
    id: string;
    placeholder: string;
    errorMessage?: string;
    /** Labels can be either strings or JSX */
    label: ReactChild;
    helperText?: string;
    iconLeft?: string;
    iconRight?: string;
    valid?: boolean;
} & Omit<JSX.IntrinsicElements["input"], "children">;
declare const TextInput: RefForwardingComponent<HTMLInputElement, TextInputProps>;
export { TextInput };
