import { IBackboneElement, IElement } from '../base';
import { SearchEntryModeType } from '../types';
/**
* @name IBundleSearch
* @description Information about the search process that lead to the creation of this entry.
* @see BundleSearch
* @version R4
* @extends {IBackboneElement}
* @author Roberto Araneda Espinoza
*/
export interface IBundleSearch extends IBackboneElement {
/**
* @description Why this entry is in the result set - whether it\u0027s included as a match or because of an _include requirement, or to convey information or warning information about the search process.
* @description match | include | outcome
* @see SearchEntryMode
*/
mode?: SearchEntryModeType;
/**
* @description Extensions for mode
*/
_mode?: IElement;
/**
* @description When searching, the server\u0027s search ranking score for the entry.
*/
score?: number;
/**
* @description Extensions for score
*/
_score?: IElement;
}