UNPKG

@vtex/vtexis-compatibility-layer

Version:

Compatibility layer between intelligent search and VTEX

6 lines (5 loc) 427 B
export declare const itemsFromSearchDocuments: (documents: SkuDocument[], offers: SkuOffers, account: string, translations?: TranslatedProperty[] | undefined) => SearchItem[]; export declare const convertSearchDocument: (documents: SkuDocument[], offers: SkuOffers, account: string, translations?: TranslatedProperty[] | undefined) => Promise<(SearchProduct & { [key: string]: any; cacheId?: string | undefined; })[]>;