/** * 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 type { LegendDataCubeApplicationStore } from '../../LegendDataCubeBaseStore.js'; import type { LegendDataCubeDataCubeEngine } from '../../LegendDataCubeDataCubeEngine.js'; import { type DataCubeAlertService } from '@finos/legend-data-cube'; import { LegendDataCubeBlockingWindowState } from '../../../components/LegendDataCubeBlockingWindow.js'; import type { PersistentDataCube } from '@finos/legend-graph'; export declare abstract class LegendDataCubeSourceLoaderState { protected readonly _application: LegendDataCubeApplicationStore; protected readonly _engine: LegendDataCubeDataCubeEngine; protected readonly _alertService: DataCubeAlertService; readonly display: LegendDataCubeBlockingWindowState; readonly finalizeState: ActionState; protected readonly onSuccess: () => Promise; protected readonly onError: (error: unknown) => Promise; readonly sourceData: PlainObject; readonly persistentDataCube: PersistentDataCube; constructor(application: LegendDataCubeApplicationStore, engine: LegendDataCubeDataCubeEngine, alertService: DataCubeAlertService, sourceData: PlainObject, persistentDataCube: PersistentDataCube, onSuccess: () => Promise, onError: (error: unknown) => Promise); abstract get label(): string; abstract get isValid(): boolean; abstract load(source: PlainObject | undefined): Promise; finalize(): Promise; } //# sourceMappingURL=LegendDataCubeSourceLoaderState.d.ts.map