/**
 * 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 { EditorStore } from '../EditorStore.js';
import { EditorState } from '../editor-state/EditorState.js';
import { type GeneratorFn } from '@finos/legend-shared';
import type { EditorSDLCState } from '../EditorSDLCState.js';
import { type ProjectConfiguration, ProjectStructureVersion, UpdateProjectConfigurationCommand } from '@finos/legend-server-sdlc';
import { ProjectData } from '@finos/legend-server-depot';
export declare enum CONFIGURATION_EDITOR_TAB {
    PROJECT_STRUCTURE = "PROJECT_STRUCTURE",
    PROJECT_DEPENDENCIES = "PROJECT_DEPENDENCIES"
}
export declare class ProjectConfigurationEditorState extends EditorState {
    sdlcState: EditorSDLCState;
    originalProjectConfiguration?: ProjectConfiguration | undefined;
    projectConfiguration?: ProjectConfiguration | undefined;
    selectedTab: CONFIGURATION_EDITOR_TAB;
    isReadOnly: boolean;
    projects: Map<string, ProjectData>;
    queryHistory: Set<string>;
    latestProjectStructureVersion: ProjectStructureVersion | undefined;
    isUpdatingConfiguration: boolean;
    isQueryingProjects: boolean;
    associatedProjectsAndVersionsFetched: boolean;
    isFetchingAssociatedProjectsAndVersions: boolean;
    constructor(editorStore: EditorStore, sdlcState: EditorSDLCState);
    setOriginalProjectConfiguration(projectConfiguration: ProjectConfiguration): void;
    setProjectConfiguration(projectConfiguration: ProjectConfiguration): void;
    setSelectedTab(tab: CONFIGURATION_EDITOR_TAB): void;
    get headerName(): string;
    get currentProjectConfiguration(): ProjectConfiguration;
    get originalConfig(): ProjectConfiguration;
    get containsSnapshotDependencies(): boolean;
    fectchAssociatedProjectsAndVersions(): GeneratorFn<void>;
    updateProjectConfiguration(updateConfigurationCommand: UpdateProjectConfigurationCommand): GeneratorFn<void>;
    updateToLatestStructure(): GeneratorFn<void>;
    updateConfigs(): GeneratorFn<void>;
    fetchLatestProjectStructureVersion(): GeneratorFn<void>;
}
//# sourceMappingURL=ProjectConfigurationEditorState.d.ts.map