import { default as React } from 'react'; import { IconWithoutBackgroundProps } from '../../base/icon/icon'; import { ButtonProps } from '../../buttons/button/button'; import { TextFieldForwardRef, TextFieldProps } from '../textfield/textfield'; export interface SearchProps extends Omit { /** * Callback triggered when the search is executed (Enter key pressed or button clicked). */ onSearch?: (value: string) => void; /** * Custom icon for the search input. */ searchIcon?: string | IconWithoutBackgroundProps; /** * Optional button properties. */ button?: Partial; /** * For accessibility: search field name (accessible name). Recommended to always set. * E.g., "Search products" or "Search site". */ ariaLabel?: string; } export declare const Search: React.ForwardRefExoticComponent>;