import { TypographyProps, TextFieldProps as MuiTextFieldProps } from '@mui/material';
import * as React from "react";
type BaseTextFieldProps = {
    /**
     * Name and ID of the component. Must match a key from initialValues in Formik.
     * @required
     */
    name: string;
    /**
     * If true, ensures that user enters only input that matches the format.
     * Defaults to true if a format is specified.
     * @default format ? true : false
     */
    autoFormat?: boolean;
    /**
     * A format string that will be used for formatting the user input.
     * 9 = numbers, X = characters
     * @example
     * format='999-XXX-9999'
     */
    format?: string;
    /**
     * If true, the prepackaged dynamic input label that comes with Material UI's input components
     * will be replaced with a static typography label above the input.
     * @default false
     */
    staticLabel?: boolean;
    /**
     * Props from MUI-Bueno's Typography component.
     * Used to customize the label when the static label option is selected or the field is readOnly.
     */
    staticLabelProps?: TypographyProps;
    /**
     * If `true`, the component becomes readonly.
     * @default false
     */
    readOnly?: boolean;
    /**
     * If provided, will show the icon at the start of the input field.
     */
    startIcon?: React.JSX.Element;
    /**
     * If provided, will show the icon at the end of the input field.
     */
    endIcon?: React.JSX.Element;
    /**
     * Margin for the FormControl
     */
    margin?: "dense" | "none" | "normal";
    /**
     * By default, TextField will trim leading and trailing whitespace on blur. To disable this, set `noTrimOnBlur` to true.
     */
    noTrimOnBlur?: boolean;
};
export type TextFieldProps = BaseTextFieldProps & Omit<MuiTextFieldProps, "defaultValue" | "error" | "fullWidth" | "select" | "SelectProps" | "value">;
/**
 * The `TextField` is a MUI input. For use with validation, view the examples at the bottom of this page.
 */
export declare const TextField: React.FC<TextFieldProps>;
export {};
