/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Hit } from './Hit'; import type { Facet } from './Facet'; /** * JSON schema for a the result of a search. * @export * @interface SearchResults */ export interface SearchResults { /** * The total number of hits found for this search. * @type {number} * @memberof SearchResults */ found?: number; /** * The zero-based number of the first hit returned in this page of search results. * @type {number} * @memberof SearchResults */ start?: number; /** * DEPRECATED: The search match expression parsed from the search request parameters. This is useful for debugging purposes. * @type {string} * @memberof SearchResults */ matchExpression?: string; /** * The hits in this page of search results * @type {Array} * @memberof SearchResults */ hits?: Array; /** * The facets found in all results of this search. * @type {Array} * @memberof SearchResults */ facets?: Array; } /** * Check if a given object implements the SearchResults interface. */ export declare function instanceOfSearchResults(value: object): value is SearchResults; export declare function SearchResultsFromJSON(json: any): SearchResults; export declare function SearchResultsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchResults; export declare function SearchResultsToJSON(json: any): SearchResults; export declare function SearchResultsToJSONTyped(value?: SearchResults | null, ignoreDiscriminator?: boolean): any;