import * as React from 'react'; import { InputBaseProps, InputIconPosition, InputSize } from '../InputBase'; export interface SearchProps extends InputBaseProps { /** * Style properties for the component container element */ containerStyle?: React.CSSProperties; /** * Text for icon button aria-label * @default "Search" */ iconAriaLabel?: string; /** * Relative size of the component * @default InputSize.medium */ inputSize?: InputSize; /** * Style properties for the input element */ inputStyle?: React.CSSProperties; /** * Position within the component for the icon to appear * @default InputIconPosition.right */ iconPosition?: InputIconPosition; /** * Clear contents of input by clicking a clear button */ isClearable?: boolean; /** * If true, the component will show a loading animation instead of a search button * @default false */ isLoading?: boolean; isInverse?: boolean; /** * Text for input aria-label * @default "Search" */ labelText?: string; /** * Action that will fire when search icon button is clicked */ onSearch: (term: string) => void; /** * @internal */ testId?: string; /** * Value of the input element */ value?: string; } export declare const Search: React.ForwardRefExoticComponent>;