import { IItem , IGroup } from "@esri/arcgis-rest-types" ; import { SearchQueryBuilder } from "../util/SearchQueryBuilder" ; import { ISearchOptions , ISearchGroupContentOptions , ISearchResult } from "../util/search" ; import { genericSearch } from "../util/generic-search" ; param search returns export function searchGroups ( search ) { return genericSearch < IGroup > ( search , "group" ) ; } param options returns export function searchGroupContent ( options ) { return genericSearch < IItem > ( options , "groupContent" ) ; }