import React, { InputHTMLAttributes } from 'react';
import { BaseFormControl, BaseInputEvents } from '../Form.models';
export interface SingleLineTextProps extends BaseFormControl, BaseInputEvents {
    /** Input element type */
    type?: 'text' | 'password' | 'number';
    /**
     * This property is only used in combination with `type='password'`.
     *
     * Use this to signalize the textbox whether it should act like a value is already set, eventhough the actual `value` is empty.
     * This is useful if the backend just indicates that a password is set, but doesn't give out the actual value.
     */
    isSet?: boolean;
    /** Current value the form control has */
    value?: InputHTMLAttributes<HTMLInputElement>['value'];
    /** Default value for the form control */
    defaultValue?: InputHTMLAttributes<HTMLInputElement>['defaultValue'];
    /** Input placeholder */
    placeholder?: string;
    /** Whether or not the control should start focused (default: false) */
    autoFocus?: boolean;
    /** Whether or not the control supports auto complete */
    autoComplete?: 'on' | 'off';
    innerRef?: React.RefObject<HTMLInputElement>;
    /**
     * Additional props to be passed to the input element.
     */
    inputProps?: InputHTMLAttributes<HTMLInputElement>;
}
/**
 * This component can be used to display a text input inside a form.
 * If you run your form in a Formik context, consider using the `SingleLineTextField` component instead.
 */
export declare const SingleLineText: React.FC<SingleLineTextProps>;
//# sourceMappingURL=SingleLineText.d.ts.map