/**
 * 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 { type GeneratorFn, ActionState } from '@finos/legend-shared';
import { type FileGenerationSpecification, type GenerationOutput, type GenerationProperty, PackageableElement, PackageableElementReference } from '@finos/legend-graph';
import { FileSystemState } from './FileSystemState.js';
export declare abstract class GeneratedFileStructureState {
    readonly editorStore: EditorStore;
    fileSystemState: FileSystemState;
    generatingAction: ActionState;
    rootDirectoryName: string;
    constructor(rootDirectory: string, editorStore: EditorStore);
    abstract resetGenerator(): void;
    abstract generate(): GeneratorFn<void>;
    abstract get rootFolder(): string;
    abstract get generationParentId(): string | undefined;
    processGenerationResult(output: GenerationOutput[]): void;
}
export declare class FileGenerationState extends GeneratedFileStructureState {
    readonly fileGeneration: FileGenerationSpecification;
    constructor(editorStore: EditorStore, fileGeneration: FileGenerationSpecification);
    get rootFolder(): string;
    get generationParentId(): string | undefined;
    resetGenerator(): void;
    updateFileGenerationParameters(fileGeneration: FileGenerationSpecification, generationProperty: GenerationProperty, newValue: unknown): void;
    generate(): GeneratorFn<void>;
    getScopeElement(element: PackageableElement | string): PackageableElementReference<PackageableElement> | string | undefined;
    addScopeElement(element: PackageableElement | string): void;
    deleteScopeElement(element: PackageableElement | string): void;
}
//# sourceMappingURL=FileGenerationState.d.ts.map