/** * 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 { ActionState, type PlainObject } from '@finos/legend-shared'; import { LegendDataCubeSourceBuilderState, LegendDataCubeSourceBuilderType } from './LegendDataCubeSourceBuilderState.js'; import { StoreProjectData } from '@finos/legend-server-depot'; import type { LegendDataCubeBuilderStore } from '../LegendDataCubeBuilderStore.js'; import { type LegendDataCubeDataCubeEngine } from '../../LegendDataCubeDataCubeEngine.js'; import type { LegendDataCubeApplicationStore } from '../../LegendDataCubeBaseStore.js'; import { type V1_PackageableRuntime, V1_PureModelContextPointer, type V1_Mapping, V1_Lambda } from '@finos/legend-graph'; import { type DataCubeAlertService } from '@finos/legend-data-cube'; import { FreeformExpressionCodeEditorState } from './FreeformExpressionCodeEditorState.js'; export declare class FreeformTDSExpressionDataCubeSourceBuilderState extends LegendDataCubeSourceBuilderState { builderStore: LegendDataCubeBuilderStore; projects: StoreProjectData[]; currentProject?: StoreProjectData | undefined; currentProjectVersions?: string[] | undefined; currentVersionId?: string | undefined; runtimes?: V1_PackageableRuntime[] | undefined; currentRuntime?: V1_PackageableRuntime | undefined; mappings?: V1_Mapping[] | undefined; currentMapping?: V1_Mapping | undefined; modelPointer: PlainObject | undefined; codeEditorState: FreeformExpressionCodeEditorState; queryCompileState: ActionState; code: string; readonly loadProjectsState: ActionState; constructor(application: LegendDataCubeApplicationStore, engine: LegendDataCubeDataCubeEngine, alertService: DataCubeAlertService, builderStore: LegendDataCubeBuilderStore); setCurrentProject(val: StoreProjectData | undefined): void; setCurrentProjectVersions(val: string[] | undefined): void; setCurrentVersionId(val: string | undefined): void; getProjects(): StoreProjectData[]; setCurrentRuntime(val: V1_PackageableRuntime | undefined): void; setRuntimes(val: V1_PackageableRuntime[] | undefined): void; setCurrentMapping(val: V1_Mapping | undefined): void; setMappings(val: V1_Mapping[] | undefined): void; setModelPointer(val: PlainObject | undefined): void; loadProjects(): Generator[]>, void, PlainObject[]>; get label(): LegendDataCubeSourceBuilderType; get isValid(): boolean; queryLambdaHelper(): Promise; queryLambda: () => V1_Lambda; compileQueryCallback: () => Promise; compileQueryHelper(): Promise; buildPureModelContextPointer(): PlainObject | undefined; generateSourceData(): Promise; } //# sourceMappingURL=FreeformTDSExpressionDataCubeSourceBuilderState.d.ts.map