import React, { PureComponent } from 'react'; import './SearchInput.scss'; interface SearchInputProps { value: string; placeholder: string; /** Placeholder text shown on the right side of the input when empty */ endPlaceholder?: string; onBlur?: React.FocusEventHandler; onChange: React.ChangeEventHandler; onKeyDown: React.KeyboardEventHandler; className: string; disabled?: boolean; /** Number of search matches, displayed at the end of the search field. */ matchCount: number; id: string; 'data-testid'?: string; cursor?: { index: number | undefined; next: (direction: 'forward' | 'back') => void; }; } declare class SearchInput extends PureComponent { static defaultProps: { placeholder: string; className: string; matchCount: null; onKeyDown(): void; id: string; 'data-testid': undefined; cursor: undefined; }; constructor(props: SearchInputProps); componentDidMount(): void; componentDidUpdate(): void; focus(): void; select(): void; inputField: React.RefObject; searchChangeSelection: React.RefObject; setInputPaddingRight(): void; render(): JSX.Element; } export default SearchInput; //# sourceMappingURL=SearchInput.d.ts.map