import { IItem } from "@esri/arcgis-rest-types" ; import { SearchQueryBuilder } from "../util/SearchQueryBuilder" ; import { ISearchOptions , ISearchResult } from "../util/search" ; import { genericSearch } from "../util/generic-search" ; param search returns export function searchItems ( search ) { return genericSearch < IItem > ( search , "item" ) ; }