export type HighlightSegment = { text: string; matched: boolean; }; export declare function getHighlightedSegments(text: string, query: string | string[]): HighlightSegment[];