/** * Copyright (c) 2020-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 { type DepotEntityWithOrigin } from '@finos/legend-storage'; import type { DataProductWithLegacyOption } from '../../stores/data-space/DataProductSelectorState.js'; /** * Inline badge rendered next to every DataProduct (Lakehouse) entry * in a combined data-space / data-product selector dropdown. */ export declare const DataProductLakehouseBadge: () => React.ReactNode; /** * Option label for a combined dropdown that shows both legacy DataSpaces and * depot DataProducts. DataProduct entries get a "Lakehouse" badge. */ export declare const formatDataProductOrSpaceOptionLabel: (option: DataProductWithLegacyOption) => React.ReactNode; /** * Option label for a DataProduct-only dropdown. Entries that are legacy * DataSpaces (ResolvedDataSpaceEntityWithOrigin) do NOT get the badge; only * actual Lakehouse DataProduct entries do. */ export declare const formatDataProductOptionLabel: (option: { label: string; value: DepotEntityWithOrigin; }) => React.ReactNode; //# sourceMappingURL=LegendQueryDataProductOptionLabel.d.ts.map