import { type ComponentType, type SyntheticEvent } from "react"; import { type InputLegacyProps as InputProps } from "../input-legacy"; export interface SearchInputProps extends Omit { /** * Override "search" icon. * Set to `null` to hide. */ IconComponent?: ComponentType | null; /** * Callback for when clear button is clicked. */ onClear?: () => void; /** * Callback for change event. * Event is either an Input change event or a Button click event. */ onChange?: (event: SyntheticEvent, value: string) => void; /** * Callback to trigger search. */ onSubmit?: (value: InputProps["value"]) => void; } export declare const SearchInput: import("react").ForwardRefExoticComponent>;