/**
 * 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 '../EditorState.js';
import { type GeneratorFn, ActionState } from '@finos/legend-shared';
import type { EditorSDLCState } from '../../EditorSDLCState.js';
import { type ProjectConfiguration, ProjectStructureVersion, UpdateProjectConfigurationCommand, ProjectType } from '@finos/legend-server-sdlc';
import { StoreProjectData } from '@finos/legend-server-depot';
import { ProjectDependencyEditorState } from './ProjectDependencyEditorState.js';
export declare enum CONFIGURATION_EDITOR_TAB {
    PROJECT_STRUCTURE = "PROJECT_STRUCTURE",
    PROJECT_DEPENDENCIES = "PROJECT_DEPENDENCIES",
    PLATFORM_CONFIGURATIONS = "PLATFORM_CONFIGURATIONS",
    ADVANCED = "ADVANCED"
}
export declare const projectTypeTabFilter: (mode: ProjectType, tab: CONFIGURATION_EDITOR_TAB) => boolean;
export declare class ProjectConfigurationEditorState extends EditorState {
    readonly sdlcState: EditorSDLCState;
    readonly updatingConfigurationState: ActionState;
    readonly fetchingProjectVersionsState: ActionState;
    projectDependencyEditorState: ProjectDependencyEditorState;
    originalProjectConfiguration?: ProjectConfiguration | undefined;
    projectConfiguration?: ProjectConfiguration | undefined;
    selectedTab: CONFIGURATION_EDITOR_TAB;
    isReadOnly: boolean;
    projects: Map<string, StoreProjectData>;
    versions: Map<string, string[]>;
    latestProjectStructureVersion: ProjectStructureVersion | undefined;
    manualOverwrite: boolean;
    associatedProjectsAndVersionsFetched: boolean;
    constructor(editorStore: EditorStore, sdlcState: EditorSDLCState);
    setOriginalProjectConfiguration(projectConfiguration: ProjectConfiguration): void;
    setProjectConfiguration(projectConfiguration: ProjectConfiguration): void;
    setSelectedTab(tab: CONFIGURATION_EDITOR_TAB): void;
    setManualOverwrite(value: boolean): void;
    get label(): string;
    match(tab: EditorState): boolean;
    get currentProjectConfiguration(): ProjectConfiguration;
    get originalConfig(): ProjectConfiguration;
    get isGroupIdChanged(): boolean;
    get isArtifactIdChanged(): boolean;
    get containsSnapshotDependencies(): boolean;
    get isInEmbeddedMode(): boolean;
    fectchAssociatedProjectsAndVersions(): GeneratorFn<void>;
    updateProjectConfiguration(updateConfigurationCommand: UpdateProjectConfigurationCommand): GeneratorFn<void>;
    updateToLatestStructure(): GeneratorFn<void>;
    changeProjectType(): GeneratorFn<void>;
    updateConfigs(): GeneratorFn<void>;
    fetchLatestProjectStructureVersion(): GeneratorFn<void>;
}
//# sourceMappingURL=ProjectConfigurationEditorState.d.ts.map