/** * Copyright (c) 2026-present, Goldman Sachs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { SearchResultsViewMode } from '../../stores/lakehouse/LegendMarketplaceSearchResultsStore.js'; import type { ProductCardState } from '../../stores/lakehouse/dataProducts/ProductCardState.js'; /** * Shared body of a marketplace search results page: loading state, empty state, the * tile/list product grid, the "show all" prompt, and pagination. Used by both the * DataSpaces and Lakehouse Access pages, which differ only in what feeds these props — * `canShowAll` in particular folds in whatever page-specific conditions (e.g. producer * search) gate the "show all" prompt on a given page, so this component doesn't need to * know about them. */ export declare const SearchResultsCardGrid: React.FC<{ isLoading: boolean; totalItems: number; viewMode: SearchResultsViewMode; products: ProductCardState[] | undefined; onProductCardClick: (productCardState: ProductCardState) => void; canShowAll: boolean; onShowAllProducts: () => void; itemsPerPage: number; page: number; onPageChange: (page: number) => void; onItemsPerPageChange: (itemsPerPage: number) => void; }>; //# sourceMappingURL=SearchResultsCardGrid.d.ts.map