/** * 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 LightQuery, type V1_EngineServerClient, type V1_Enumeration, type V1_PureGraphManager, type V1_ValueSpecification, type V1_Variable } from '@finos/legend-graph'; import { QueryLoaderState } from '@finos/legend-query-builder'; import { LegendDataCubeSourceBuilderState, LegendDataCubeSourceBuilderType } from './LegendDataCubeSourceBuilderState.js'; import type { LegendDataCubeDataCubeEngine } from '../../LegendDataCubeDataCubeEngine.js'; import type { LegendDataCubeApplicationStore } from '../../LegendDataCubeBaseStore.js'; import { type DataCubeAlertService, type DataCubeConfiguration } from '@finos/legend-data-cube'; import type { DepotServerClient } from '@finos/legend-server-depot'; type QueryParameterValues = { [varName: string]: { variable: V1_Variable; valueSpec: V1_ValueSpecification; }; }; export declare class LegendQueryDataCubeSourceBuilderState extends LegendDataCubeSourceBuilderState { private readonly _engineServerClient; private readonly _depotServerClient; private readonly _graphManager; private readonly _systemModel; readonly queryLoader: QueryLoaderState; query?: LightQuery | undefined; queryCode?: string | undefined; queryParameterValues?: QueryParameterValues | undefined; queryEnumerations?: { [varName: string]: V1_Enumeration; }; constructor(application: LegendDataCubeApplicationStore, engine: LegendDataCubeDataCubeEngine, engineServerClient: V1_EngineServerClient, depotServerClient: DepotServerClient, graphManager: V1_PureGraphManager, alertService: DataCubeAlertService); setQuery(lightQuery: LightQuery): Promise; unsetQuery(): void; setQueryParameterValue(name: string, value: V1_ValueSpecification): void; get queryParameters(): V1_Variable[] | undefined; get hasInvalidQueryParameters(): boolean; get label(): LegendDataCubeSourceBuilderType; get isValid(): boolean; generateSourceData(): Promise>; finalizeConfiguration(configuration: DataCubeConfiguration): void; private populateEnumerations; } export {}; //# sourceMappingURL=LegendQueryDataCubeSourceBuilderState.d.ts.map