import { SearchableField, PredictiveSearchLimitScope, SearchUnavailableProductsType } from '@shopify/hydrogen/storefront-api-types'; type Variables = { query: string; limit?: number; scope?: PredictiveSearchLimitScope; types?: Array; searchableFields?: Array; unavailableProducts?: SearchUnavailableProductsType; }; declare const StorefrontPredictiveSearch: { createSuggestionQuery: (variables: Variables | (() => Variables), fragments?: string[] | (() => string[]), key?: string | (() => string)) => import('@tanstack/solid-query').DefinedCreateQueryResult; getSuggestionQueryState: (key?: string | (() => string)) => import('@tanstack/solid-query').QueryState | undefined; }; type PredictiveSearchType = typeof StorefrontPredictiveSearch; declare global { interface Shopify { StorefrontPredictiveSearch: PredictiveSearchType; } } export default StorefrontPredictiveSearch;