import React, { ChangeEventHandler, HTMLAttributes } from 'react';
import { ComponentSize } from '../../tokens/sizes';
export interface TextInputProps extends Omit, 'size' | 'disabled' | 'onChange'> {
size?: ComponentSize;
disabled?: boolean;
icon?: React.ElementType;
error?: boolean;
width?: string;
value?: string;
onChange?: ChangeEventHandler;
readonly?: boolean;
clearable?: boolean;
style?: React.CSSProperties;
[key: string]: any;
className?: string;
}
declare const _default: React.ForwardRefExoticComponent & React.RefAttributes>;
export default _default;
//# sourceMappingURL=text-input.d.ts.map