import type * as React from 'react'; import { AppModelColumn, BGridDataItem, BGridProps, BGridSearchMatch, BGridSearchOptions } from '../types'; export declare function normalizeSearchText(value: unknown): string; export interface FindGridSearchMatchesParams { data: BGridDataItem[]; columns: AppModelColumn[]; sourceIndexByVisibleIndex?: number[]; rowKey?: React.Key | React.Key[]; cellMergeOptions?: BGridProps['cellMergeOptions']; searchOptions?: BGridSearchOptions; query: string; startRowIndex?: number; endRowIndex?: number; onGetSearchTextError?: (columnId: string, error: unknown) => void; } export declare function findGridSearchMatches({ data, columns, sourceIndexByVisibleIndex, rowKey, cellMergeOptions, searchOptions, query, startRowIndex, endRowIndex, onGetSearchTextError, }: FindGridSearchMatchesParams): BGridSearchMatch[]; export declare function dedupeSearchMatches(matches: BGridSearchMatch[]): BGridSearchMatch[]; export declare function findMatchingSearchResultIndex(matches: BGridSearchMatch[], previous?: BGridSearchMatch, previousIndex?: number): number | undefined;