import { QueryOptions } from '../graphql/useQueryInfinite'; interface BaseQueryShape { vtex: { productSearch: Maybe<{ products: Maybe; }>; }; } interface Options { query: QueryOptions; initialData: Query; pageSize?: number; } export declare const useSearch: ({ query, initialData: firstPageData, pageSize, }: Options) => { fetchMore: () => Promise; isLoadingMore: boolean; isReachingEnd: boolean; data: Query[] | undefined; error: any; }; export {};