import React from 'react'; import { CSS } from '../utils/objectToCss'; interface Props { id?: string; isErrored?: boolean; isDisabled?: boolean; isReadOnly?: boolean; validationState?: 'valid' | 'invalid'; isRequired?: boolean; description?: React.ReactNode; errorMessage?: React.ReactNode; autoFocus?: boolean; placeholder?: string; value?: string; defaultValue?: string; label?: React.ReactNode; onSubmit?: (value: string) => void; onClear?: () => void; onChange?: (value: string) => void; onChangeEvent?: (event: React.ChangeEvent) => void; onCopy?: React.ClipboardEventHandler; onCut?: React.ClipboardEventHandler; onPaste?: React.ClipboardEventHandler; onCompositionStart?: React.CompositionEventHandler; onCompositionEnd?: React.CompositionEventHandler; onCompositionUpdate?: React.CompositionEventHandler; onSelect?: React.ReactEventHandler; onBeforeInput?: React.FormEventHandler; onInput?: React.FormEventHandler; onFocus?: (e: React.FocusEvent) => void; onBlur?: (e: React.FocusEvent) => void; onKeyDown?: (e: React.KeyboardEvent) => void; onKeyUp?: (e: React.KeyboardEvent) => void; maxLength?: number; minLength?: number; 'aria-activedescendant'?: string; 'aria-autocomplete'?: 'none' | 'inline' | 'list' | 'both'; 'aria-haspopup'?: boolean | 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog'; 'aria-controls'?: string; 'aria-label'?: string; 'aria-labelledby'?: string; 'aria-describedby'?: string; 'aria-details'?: string; 'aria-errormessage'?: string; css?: CSS; className?: string; } export type SearchFieldProps = Props & Omit, keyof Props>; declare const SearchField: React.ForwardRefExoticComponent, keyof Props> & React.RefAttributes>; export default SearchField;