/**
 * 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 DEPRECATED__MappingTest, type DEPRECATED__InputData, type Mapping, MappingTestSuite } from '@finos/legend-graph';
import type { EditorStore } from '../../../../EditorStore.js';
import type { MappingEditorState } from '../MappingEditorState.js';
import { type GeneratorFn, ActionState } from '@finos/legend-shared';
declare enum UNSUPPORTED_REASON {
    FLAT_DATA = "FLAT_DATA",
    MULTI_INPUT_DATA = "MULTI_INPUT_DATA",
    RELATIONAL = "RELATIONAL"
}
declare class SupportedMigrationTestState {
    test: DEPRECATED__MappingTest;
    inputData: DEPRECATED__InputData;
    constructor(test: DEPRECATED__MappingTest, inputData: DEPRECATED__InputData);
}
export declare enum MIGRATE_PHASE {
    OVERVIEW = "OVERVIEW",
    CONFIRM = "CONFIRM"
}
export declare class MappingTestConfirmationState {
    editorStore: EditorStore;
    migrationState: MappingTestMigrationState;
    before: string | undefined;
    after: string | undefined;
    suitesToAdd: MappingTestSuite[];
    testsToDelete: DEPRECATED__MappingTest[];
    migrated: boolean;
    calculatingDiffs: ActionState;
    constructor(migrationState: MappingTestMigrationState);
    init(): GeneratorFn<void>;
    migrate(): void;
    reverse(): void;
}
export declare class MappingTestMigrationState {
    readonly editorStore: EditorStore;
    readonly mappingEditorState: MappingEditorState;
    unsupported: Map<UNSUPPORTED_REASON, DEPRECATED__MappingTest[]>;
    queryToSuiteMap: Map<string, SupportedMigrationTestState[]>;
    suitesAdded: MappingTestSuite[] | undefined;
    steps: [MIGRATE_PHASE, MIGRATE_PHASE];
    currentStep: MIGRATE_PHASE;
    confirmationState: MappingTestConfirmationState | undefined;
    constructor(editorStore: EditorStore, mappingEditorState: MappingEditorState, unsupported: Map<UNSUPPORTED_REASON, DEPRECATED__MappingTest[]>, supported: Map<string, SupportedMigrationTestState[]>);
    get activeStep(): number;
    get disableBack(): boolean;
    get disableNext(): boolean;
    get nextText(): string;
    handleBack(): void;
    handleNext(): void;
    static build(editorStore: EditorStore, mappingEditorState: MappingEditorState): MappingTestMigrationState;
    migrate(): MappingTestSuite[];
    get suiteValuesToMigrate(): SupportedMigrationTestState[][];
    get unSupportedTestsToMigrate(): DEPRECATED__MappingTest[];
    get mapping(): Mapping;
    get migrateableTests(): DEPRECATED__MappingTest[];
}
export {};
//# sourceMappingURL=MappingTestMigrationState.d.ts.map