/** * Copyright (c) 2025-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 { LegendDataCubeSourceBuilderState, LegendDataCubeSourceBuilderType } from './LegendDataCubeSourceBuilderState.js'; import { ActionState, type GeneratorFn, type PlainObject } from '@finos/legend-shared'; import type { DataCubeAlertService } from '@finos/legend-data-cube'; import type { LegendDataCubeApplicationStore } from '../../LegendDataCubeBaseStore.js'; import type { LegendDataCubeDataCubeEngine } from '../../LegendDataCubeDataCubeEngine.js'; import { type LakehouseContractServerClient } from '@finos/legend-server-lakehouse'; import { VersionedProjectData, type DepotServerClient } from '@finos/legend-server-depot'; import { type V1_EntitlementsDataProductLite, V1_EntitlementsLakehouseEnvironmentType } from '@finos/legend-graph'; import { LegendDataCubeCodeEditorState } from '../LegendDataCubeCodeEditorState.js'; export declare class LakehouseConsumerDataCubeSourceBuilderState extends LegendDataCubeSourceBuilderState { warehouse: string | undefined; selectedDataProduct: V1_EntitlementsDataProductLite | undefined; selectedAccessPoint: [string, string] | undefined; paths: string[]; dataProducts: V1_EntitlementsDataProductLite[]; accessPoints: Map; dpCoordinates: VersionedProjectData | undefined; origin: string | undefined; fullGraphGrammar: string | undefined; deploymentId: number | undefined; envMode: V1_EntitlementsLakehouseEnvironmentType; showQueryEditor: boolean; DEFAULT_CONSUMER_WAREHOUSE: string; codeEditorState: LegendDataCubeCodeEditorState; private readonly _contractServerClient; private readonly _depotServerClient; readonly dataProductLoadingState: ActionState; readonly ingestEnvLoadingState: ActionState; constructor(application: LegendDataCubeApplicationStore, engine: LegendDataCubeDataCubeEngine, depotServerClient: DepotServerClient, contractServerClient: LakehouseContractServerClient, alertService: DataCubeAlertService); setWarehouse(warehouse: string | undefined): void; setDataProducts(dataProducts: V1_EntitlementsDataProductLite[]): void; setSelectedDataProduct(dataProduct: V1_EntitlementsDataProductLite | undefined): void; setAccessPoints(accessPoints: Map): void; setSelectedAccessPoint(accessPoint: [string, string] | undefined): void; setEnvMode(env: V1_EntitlementsLakehouseEnvironmentType): void; get filteredDataProducts(): V1_EntitlementsDataProductLite[]; setShowQueryEditor(val: boolean): void; loadDataProducts(access_token?: string): GeneratorFn; fetchAccessPoints(): Promise; initializeQuery(): Promise; reset(): void; resetDataProduct(): void; resetEnvironment(): void; get label(): LegendDataCubeSourceBuilderType; get isValid(): boolean; generateSourceData(): Promise; } //# sourceMappingURL=LakehouseConsumerDataCubeSourceBuilderState.d.ts.map