import { ColumnApi, GridApi, IRowNode } from 'ag-grid-community'; import { ErrorMessagePosition, Matcher, ComparisonDefinition, AgHint, AgField } from '../../../../../../../src/types'; export type FilterFunction = (row: IRowNode) => boolean; export interface ReactSmartSearchAgGridProps { fields?: AgField[]; matchers?: Matcher[]; onChanged?: (matchers: Matcher[], filter: FilterFunction | null) => void; comparisonDescriptons?: ComparisonDefinition[]; maxSelectionLimit?: number; maxMatcherWidth?: number; maxOptionWidth?: number; maxDropDownListHeight?: number; optionsDropDownWidth?: number; hintsDropDownWidth?: number; listDropDownWidth?: number; hideToolTip?: boolean; debounceDelay?: number; showEqualsAnd?: boolean; hints?: AgHint[]; hintsToShow?: number; searchPrompt?: string; keyboardActivityTimeout?: number; errorMessagePosition?: ErrorMessagePosition; matcherErrorColor?: string; matcherWarningColor?: string; matcherSelectedColor?: string; dateFormats?: string[]; gridApi: GridApi | null; columnApi: ColumnApi | null; } export default function ReactSmartSearchAgGrid({ fields, matchers, onChanged, comparisonDescriptons, maxSelectionLimit, maxMatcherWidth, maxOptionWidth, maxDropDownListHeight, optionsDropDownWidth, hintsDropDownWidth, listDropDownWidth, hideToolTip, debounceDelay, showEqualsAnd, hints, hintsToShow, searchPrompt, keyboardActivityTimeout, errorMessagePosition, matcherErrorColor, matcherWarningColor, matcherSelectedColor, dateFormats, gridApi, columnApi, }: ReactSmartSearchAgGridProps): JSX.Element;