import { ProductSearchResponse, RedirectRouteFunc } from "../types/interface"; export interface StoreDetailsProps { environmentId: string; websiteCode: string; storeCode: string; storeViewCode: string; searchUnitId: string; config: StoreDetailsConfig; context?: QueryContextInput; apiUrl?: string; route?: RedirectRouteFunc; searchRoute?: { route: string; query: string; }; } interface QueryContextInput { customerGroup: string; userViewHistory?: UserViewHistory[]; } interface StoreDetailsConfig { minQueryLength?: number; pageSize?: number; currencySymbol?: string; currencyRate?: string; displayOutOfStock?: string; } declare class LiveSearch { minQueryLength: number; pageSize: number; currencySymbol: string; currencyRate: string; displayInStockOnly: boolean; private search; private context; private searchUnitId; private apiUrl; constructor({ environmentId, websiteCode, storeCode, storeViewCode, searchUnitId, config, context, apiUrl, }: StoreDetailsProps); performSearch: (phrase: string, displayInStockOnly?: boolean) => Promise; } export { LiveSearch };