/** * Typesense API * An open source search engine for building delightful search experiences. * * The version of the OpenAPI document: 30.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface SearchHighlight */ export interface SearchHighlight { /** * * @type {string} * @memberof SearchHighlight */ field?: string; /** * Present only for (non-array) string fields * @type {string} * @memberof SearchHighlight */ snippet?: string; /** * Present only for (array) string[] fields * @type {Array} * @memberof SearchHighlight */ snippets?: Array; /** * Full field value with highlighting, present only for (non-array) string fields * @type {string} * @memberof SearchHighlight */ value?: string; /** * Full field value with highlighting, present only for (array) string[] fields * @type {Array} * @memberof SearchHighlight */ values?: Array; /** * The indices property will be present only for string[] fields and will contain the corresponding indices of the snippets in the search field * @type {Array} * @memberof SearchHighlight */ indices?: Array; /** * * @type {Array} * @memberof SearchHighlight */ matchedTokens?: Array; } /** * Check if a given object implements the SearchHighlight interface. */ export declare function instanceOfSearchHighlight(value: object): value is SearchHighlight; export declare function SearchHighlightFromJSON(json: any): SearchHighlight; export declare function SearchHighlightFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchHighlight; export declare function SearchHighlightToJSON(json: any): SearchHighlight; export declare function SearchHighlightToJSONTyped(value?: SearchHighlight | null, ignoreDiscriminator?: boolean): any;