Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SuggestionTextWithHighlights

import type { SuggestionTextWithHighlights } from "https://aws-api.deno.dev/v0.3/services/kendra.ts?docs=full";

Provides text and information about where to highlight the query suggestion text.

interface SuggestionTextWithHighlights {
Highlights?: SuggestionHighlight[] | null;
Text?: string | null;
}

§Properties

§
Highlights?: SuggestionHighlight[] | null
[src]

The beginning and end of the query suggestion text that should be highlighted.

§
Text?: string | null
[src]

The query suggestion text to display to the user.