import { Search } from 'commerce-sdk'; import { ProductSearchParams, ProductSearchResponse } from '../../../types'; export declare type SearchProductsParameters = { q?: string; refine?: Array; sort?: string; currency?: string; locale?: string; offset?: any; limit?: number; }; export declare const mapSearchResponse: (apiResponse: Search.ShopperSearch.ProductSearchResult) => ProductSearchResponse; export declare const buildSearchOptions: (params: ProductSearchParams, locale?: string) => SearchProductsParameters;