import React, { HTMLAttributes, InputHTMLAttributes } from 'react';
import { FormFieldProps } from '../silke-form';
import { SilkeTextFieldOutlineProps } from './silke-text-field-outline';
export type SilkeInputSize = 's' | 'base';
type BaseProps = FormFieldProps & SilkeTextFieldOutlineProps & {
autocomplete?: boolean;
autoFocus?: boolean;
/** Field required input (if string the string will be used as error msg) */
required?: boolean | string;
maxLength?: number;
minLength?: number;
type?: string;
};
type OmitAttrs = 'name' | 'value' | 'size' | 'kind' | 'children' | 'required' | 'onChange' | 'onFocus' | 'readonly' | 'onBlur';
type MultilineProps = {
multiline: boolean | number | undefined;
type?: string;
} & BaseProps & Omit, OmitAttrs>;
export type SingleLineProps = {
multiline?: undefined | false;
} & BaseProps & Omit, OmitAttrs>;
type SingleLineNumberProps = {
multiline?: undefined | false;
type: 'number';
} & BaseProps & Omit, OmitAttrs>;
export type SilkeTextFieldProps = SingleLineProps | MultilineProps | SingleLineNumberProps;
export declare const SilkeTextField: React.ForwardRefExoticComponent>;
export {};