/**
 * 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 { GenericLegendApplicationStore } from '@finos/legend-application';
import { type Mapping, type Runtime, type GraphManagerState } from '@finos/legend-graph';
import { QueryBuilderState } from '../QueryBuilderState.js';
import type { QueryBuilderConfig } from '../../graph-manager/QueryBuilderConfig.js';
import type { QueryBuilderActionConfig, QueryBuilderWorkflowState } from '../query-workflow/QueryBuilderWorkFlowState.js';
export declare class MappingQueryBuilderState extends QueryBuilderState {
    readonly onMappingChange?: ((val: Mapping) => void) | undefined;
    readonly onRuntimeChange?: ((val: Runtime) => void) | undefined;
    TEMPORARY__setupPanelContentRenderer: () => React.ReactNode;
    constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: GraphManagerState, workflowState: QueryBuilderWorkflowState, actionConfig: QueryBuilderActionConfig, onMappingChange?: ((val: Mapping) => void) | undefined, onRuntimeChange?: ((val: Runtime) => void) | undefined, config?: QueryBuilderConfig | undefined, sourceInfo?: object | undefined);
    /**
     * Propagation after changing the mapping:
     * - If no runtime is chosen, try to choose a compatible runtime
     * - If the chosen runtime is compatible with the new chosen mapping, do nothing, otherwise, try to choose a compatible runtime
     * - If no class is chosen, try to choose a compatible class
     * - If the chosen class is compatible with the new chosen mapping, do nothing, otherwise, try to choose a compatible class
     */
    propagateMappingChange(mapping: Mapping): void;
}
//# sourceMappingURL=MappingQueryBuilderState.d.ts.map