/** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ import type { SearchResultMatchProps } from "../search-result-match/SearchResultMatchProps"; /** * A URL linking to the search result or more information. */ export type URL = string; /** * The title of the search result. */ export type Title = string; /** * The reserved space of the image row. */ export type ImageRowSize = "none" | "small" | "large"; /** * A URL to an image preview for the search result. */ export type PreviewImage = string; /** * The initial search match or summary of the search result. */ export type InitialMatch = string; /** * An array of search matches. */ export type Matches = SearchResultMatchProps[]; /** * Whether to display the link to the search result. */ export type ShowLink = boolean; /** * Search result component for displaying individual search results. */ export interface SearchResultProps { url?: URL; title?: Title; imageColSize?: ImageRowSize; previewImage?: PreviewImage; initialMatch?: InitialMatch; matches?: Matches; showLink?: ShowLink; }