import ISharePointManagedProperty from "../../models/search/ISharePointManagedProperty" ; import { ISharePointSearchResults } from "../../models/search/ISharePointSearchResults" ; import { ISharePointSearchQuery } from "../../models/search/ISharePointSearchQuery" ; export interface ISharePointSearchService { param searchQuery return search ( searchQuery ) : Promise < ISharePointSearchResults > ; /**
     * Get available SharePoint search managed properties from the search schema
     */ getAvailableManagedProperties ( ) : Promise < ISharePointManagedProperty [ ] > ; /**
     * Get all available languages for the search query
     */ getAvailableQueryLanguages ( ) : Promise < any > ; param property validateSortableProperty ( property ) : Promise < boolean > ; param query suggest ( query ) : Promise < string [ ] > ; }