/**
 * Copyright (c) 2026-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 { LambdaEditorState } from '@finos/legend-query-builder';
import { type RelationTypeColumnMetadata } from '@finos/legend-graph';
import type { DataQualityRelationValidation } from '../../graph-manager/index.js';
import type { EditorStore } from '@finos/legend-application-studio';
import { debounce } from '@finos/legend-shared';
import type { LambdaBody } from '../utils/DataQualityLambdaParameterParser.js';
import { DataQualityValidationLambdaFormState } from './DataQualityValidationLambdaFormState.js';
export declare enum LambdaEditorType {
    TEXT = "TEXT",
    GUI = "GUI"
}
export type ColumnOption = {
    value: string;
    label: string;
    type: string;
    isOptional: boolean;
};
export declare abstract class LambdaEditorWithGUIState extends LambdaEditorState {
    abstract relationValidation: DataQualityRelationValidation;
    abstract editorStore: EditorStore;
    isGUISupportedLambda: boolean;
    editorType: LambdaEditorType;
    isStub: boolean;
    dataQualityValidationLambdaFormState: DataQualityValidationLambdaFormState | undefined;
    disableEditorToggle: boolean;
    columnOptions: ColumnOption[];
    isCurrentNameSameAsComputed: boolean;
    readonly debouncedHandleValidationFormChange: ReturnType<typeof debounce>;
    constructor(lambdaString: string, lambdaPrefix: string);
    handleValidationFormChange(): Generator<import("@finos/legend-shared").GeneratorFn<void>, void, unknown>;
    get canEditInGUI(): boolean;
    setDataQualityValidationLambdaFormState(): void;
    initializeGUIEditor(columns: RelationTypeColumnMetadata[]): void;
    checkIfNameIsComputed(): void;
    tryParsingPureLambdaToGUIFormat(): boolean;
    changeEditorType(newType: LambdaEditorType): void;
    get isTextEditor(): boolean;
    get isGUIEditor(): boolean;
    getLambdaBody(): LambdaBody;
    toggleEditorMode(): void;
    convertLambdaToValidationLambdaFormRule(): void;
    convertStubLambdaToValidationLambdaFormRule(): void;
    setColumnOptions(columns: RelationTypeColumnMetadata[]): void;
}
//# sourceMappingURL=LambdaEditorWithGUIState.d.ts.map