/** * Groups the given value (if text like) into fragments. * * Given string value is always split into atleast 2 pieces, head and tail, * so that ellipsis can be rendered in the middle when the viewport space is * limited. If theres a match range, a "match" fragment is also returned that * needs to be rendered right in between head and tail. */ export declare const useTextMatchGroups: (value: unknown, matchRange: [number, number]) => { head: string; match: string; tail: string; }; //# sourceMappingURL=hooks.d.ts.map