import React, { type ChangeEvent, PureComponent, type ReactElement } from 'react'; import './FilterInputField.scss'; import type { DebouncedFunc } from 'lodash'; interface FilterInputFieldProps { className: string; style: React.CSSProperties; value: string; showAdvancedFilterButton: boolean; isAdvancedFilterSet: boolean; onAdvancedFiltersTriggered: React.MouseEventHandler; onChange: (value: string) => void; onDone: (setGridFocus?: boolean, defocusInput?: boolean) => void; onTab: (backward: boolean) => void; onContextMenu: React.MouseEventHandler; debounceMs: number; } interface FilterInputFieldState { isChanged: boolean; value: string; } /** * An input field showing a input field and button. * Debounces changes. */ declare class FilterInputField extends PureComponent { static defaultProps: { style: {}; className: string; value: string; showAdvancedFilterButton: boolean; isAdvancedFilterSet: boolean; onAdvancedFiltersTriggered: () => void; onChange: () => void; onDone: () => void; onTab: () => void; onContextMenu: () => void; debounceMs: number; }; constructor(props: FilterInputFieldProps); componentDidMount(): void; componentDidUpdate(prevProps: FilterInputFieldProps): void; componentWillUnmount(): void; inputField: HTMLInputElement | null; initialValue: string; debouncedSendUpdate: DebouncedFunc<(value: string) => void>; setValue(value: string): void; focus(): void; handleChange(event: ChangeEvent): void; handleCancel(): void; handleCommit(setGridFocus?: boolean, defocusInput?: boolean): void; handleFocus(): void; handleBlur(event: React.FocusEvent): void; handleTab(backward?: boolean): void; handleKeyDown(event: React.KeyboardEvent): void; handleContextMenu(event: React.MouseEvent): void; sendUpdate(value: string): void; render(): ReactElement; } export default FilterInputField; //# sourceMappingURL=FilterInputField.d.ts.map