/**
 * 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 MatViewDataSet, type PackageableElement, IngestDefinition } from '@finos/legend-graph';
import { ElementEditorState } from '../ElementEditorState.js';
import type { EditorStore } from '../../../EditorStore.js';
import { ActionState, type GeneratorFn } from '@finos/legend-shared';
import type { IngestDefinitionDeploymentResponse, IngestDefinitionValidationResponse, LakehouseIngestionManager, ValidateAndDeploymentResponse } from '@finos/legend-server-lakehouse';
import { EditorInitialConfiguration } from '../ElementEditorInitialConfiguration.js';
import type { AuthContextProps } from 'react-oidc-context';
import { LineageState } from '@finos/legend-query-builder';
export declare const generateUrlToDeployOnOpen: (val: IngestDefinitionEditorState) => string;
export declare class IngestDefinitionEditorState extends ElementEditorState {
    validateAndDeployResponse: ValidateAndDeploymentResponse | undefined;
    deploymentState: ActionState;
    lineageGenerationState: ActionState;
    deployOnOpen: boolean;
    lineageState: LineageState;
    constructor(editorStore: EditorStore, element: PackageableElement, config?: EditorInitialConfiguration);
    get deploymentResponse(): IngestDefinitionDeploymentResponse | IngestDefinitionValidationResponse | undefined;
    get ingestionManager(): LakehouseIngestionManager | undefined;
    setValidateAndDeployResponse(val: ValidateAndDeploymentResponse | undefined): void;
    setDeployOnOpen(value: boolean): void;
    init_with_deploy(auth: AuthContextProps): GeneratorFn<void>;
    deploy(token: string | undefined): GeneratorFn<void>;
    getMatviewFuncNames(): string[];
    generateLineage(matviewDataset: MatViewDataSet): GeneratorFn<void>;
    reprocess(newElement: PackageableElement, editorStore: EditorStore): ElementEditorState;
    get validForDeployment(): boolean;
    get validForLineageViewer(): boolean;
    get validationMessage(): string;
    get ingest(): IngestDefinition;
}
//# sourceMappingURL=IngestDefinitionEditorState.d.ts.map