import type { ButtonHTMLAttributes, InputHTMLAttributes } from 'react';
import * as React from 'react';
export interface Props extends Omit, 'onChange' | 'onSubmit'> {
addon?: React.ReactNode;
value: string;
onChange: (newValue: string, valid: boolean) => void;
onClear?: () => void;
icon?: React.ComponentType> | 'link' | 'search' | null | undefined;
loading?: boolean;
button?: false | (ButtonHTMLAttributes & {
text?: string;
});
required?: boolean;
withSuggestions?: boolean | 'above' | 'below';
}
export declare const Input: React.ForwardRefExoticComponent>;