/** @jsxImportSource react */ import { Instance } from "../ui/Instance"; import type { RenderingContext } from "../ui/RenderingContext"; import { Widget, WidgetConfig } from "../ui/Widget"; import { StringProp, Prop } from "../ui/Prop"; export interface HighlightedSearchTextConfig extends WidgetConfig { /** Search query used to highlight matching text. */ query?: StringProp; /** Text content to be searched and highlighted. */ text?: StringProp; /** Pre-computed text chunks where odd-indexed chunks are highlighted. */ chunks?: Prop; } export declare class HighlightedSearchText extends Widget { constructor(config?: HighlightedSearchTextConfig); declareData(...args: Record[]): void; render(context: RenderingContext, instance: Instance, key: string): React.ReactNode; } //# sourceMappingURL=HighlightedSearchText.d.ts.map