/** * 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 { type Schema } from '@finos/legend-cube'; import { CubeDataProductCandidate, CubeDataProductDescription, CubeDataProductEnvironmentType, CubeEngineError, type CubeAccessPointLocation, type CubeDataProductCatalog, type CubeDataProductProject, type CubeEngine, type NodeId } from '@finos/legend-cube-builder'; import type { EditorStore } from '../EditorStore.js'; import { type LegendStudioCubeWorkspace } from './LegendStudioCubeWorkspace.js'; export declare const LEGEND_STUDIO_CUBE_DATA_PRODUCT_MESSAGE: { GONE: (dataProduct: string) => string; NOT_LAKEHOUSE: string; NO_ACCESS_POINT: (accessPoint: string, dataProduct: string) => string; }; /** * The project's own data products, for the Data Product tab and for * re-checking saved sources. Their access points are typed by the engine, a * product's in one call, on the workspace */ export declare class LegendStudioCubeDataProductCatalog implements CubeDataProductCatalog { readonly environmentTypes: CubeDataProductEnvironmentType[]; readonly editorStore: EditorStore; readonly workspace: LegendStudioCubeWorkspace; private readonly engine; constructor(editorStore: EditorStore, workspace: LegendStudioCubeWorkspace, engine: CubeEngine); /** The project's own data products, not its dependencies' */ private get dataProducts(); /** The model a cube of the workspace's data products of a class names */ private modelOf; private candidateOf; private dataProductOf; /** Every data product of the project, in the class asked for; the tab matches the text itself */ search(search: { readonly text?: string; readonly environmentType: CubeDataProductEnvironmentType; }): Promise; /** A product's access point groups, its lakehouse access points typed on the workspace */ describe(candidate: CubeDataProductCandidate): Promise; /** The saved sources' schemas, typed on the workspace in one call */ resolveSchemas(project: CubeDataProductProject, sources: ReadonlyMap): Promise>; /** No marketplace: a workspace data product has no page there yet */ getMarketplaceLink(): string | undefined; } //# sourceMappingURL=LegendStudioCubeDataProductCatalog.d.ts.map