import type { InputHTMLAttributes, ReactNode } from 'react'; import React from 'react'; declare type InputProps = Omit, 'onSubmit'>; export interface SearchInputProps extends InputProps { /** * Callback function when submitted. */ onSubmit: (value: string) => void; /** * Custom icon inside the submit button. */ icon?: ReactNode; /** * ID to find this component in testing tools (e.g.: cypress, testing library, and jest). */ testId?: string; } declare const SearchInput: React.ForwardRefExoticComponent>; export default SearchInput;