@vtex/vtexis-compatibility-layer
Version:
Compatibility layer between intelligent search and VTEX
6 lines (5 loc) • 427 B
TypeScript
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;
})[]>;