import React from "react";
export declare type TextFieldProps = {
    /** A React ref to attach to the rendered Button */
    ref?: React.ForwardedRef<HTMLInputElement>;
    /** An HTML ID attribute that will be attached to the the rendered component. Useful for targeting it from tests */
    id?: string;
    /** Controls if this TextField should steal focus when mounted */
    autoFocus?: boolean;
    /** An optional hint to show next to the TextField that describes what this TextField expects */
    hint?: string | JSX.Element;
    /** An optional error to show next to the TextField. If a `validator` is also supplied, the `validator` takes precendence */
    error?: string | JSX.Element;
    /** Hints at the type of data that might be entered into this TextField */
    inputMode?: "text" | "email" | "tel" | "url" | "numeric" | "decimal";
    /** Controls if this TextField is disabled */
    isDisabled?: boolean;
    /** A label that identifies this TextField's purpose */
    label?: string;
    /** An icon to render inside the TextField, before the input */
    leadingIcon?: string;
    /** Name of the value held by this TextField when placed inside a form */
    name?: string;
    /** Controls how this TextField announces itself as autocomplete-able to the browser */
    nativeAutoComplete?: string;
    /** Callback fired when the value of this TextField changes */
    onChange?: (value: string) => void;
    /** Callback fired when the element loses focus. */
    onBlur?: () => void;
    /** A value to display in the TextField when it is empty */
    placeholder?: string;
    /** A fixed value that is appended to the beginning of the TextField */
    prefix?: string;
    /** The value of the TextField */
    value?: string;
};
export declare const TextField: React.ForwardRefExoticComponent<Pick<TextFieldProps, "autoFocus" | "onBlur" | "id" | "isDisabled" | "label" | "name" | "placeholder" | "onChange" | "value" | "prefix" | "error" | "hint" | "leadingIcon" | "inputMode" | "nativeAutoComplete"> & React.RefAttributes<HTMLInputElement>>;
