/** * Text helpers for type-to-filter controls (searchable selects, comboboxes). * Pure and dependency-free so every picker of the SDK matches the same way. */ /** Lowercase + strip accents + collapse whitespace: "Régimen Fiscal" -> "regimen fiscal". */ export declare function normalizeSearchText(input: unknown): string; /** * Does `haystack` contain EVERY whitespace-separated token of `query` * (case/accent-insensitive)? An empty query matches everything. */ export declare function matchesSearch(haystack: string, query: string): boolean; export interface HighlightPart { text: string; /** True when this slice matched the query. */ match: boolean; } /** * Splits `text` into matched / unmatched slices for `query` (case/accent * insensitive), preserving the ORIGINAL characters so accents are kept in the * rendered label. No query / no match -> a single unmatched slice. */ export declare function splitHighlight(text: string, query: string): HighlightPart[]; //# sourceMappingURL=search-text.d.ts.map