import React from "react"; import { TestableComponent } from "../../components/interfaces"; import { TextFieldProps } from "./TextField"; export interface SearchFieldProps extends TestableComponent, Omit { /** * Placeholder text for search box. */ emptySearchInputMessage?: string; /** * Event handler to reset search input. * If set then `rightElement` is automatically set with an action button to trigger the handler. */ onClearanceHandler?: () => void; /** * Tooltip to show for the clear button. */ onClearanceText?: string; } /** * Special `TextField` element for search term inputs. */ export declare const SearchField: ({ className, emptySearchInputMessage, onClearanceHandler, onClearanceText, onChange, leftIcon, rightElement, ...otherProps }: SearchFieldProps) => React.JSX.Element; export default SearchField;