/**
 * 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 PlainObject } from '@finos/legend-shared';
import type { V1_ExecutionPlan } from '../../../../model/executionPlan/V1_ExecutionPlan.js';
import type { V1_ExecutionNode } from '../../../../model/executionPlan/nodes/V1_ExecutionNode.js';
export declare enum V1_ExecutionResultTypeType {
    DATA_TYPE = "dataType",
    TDS = "tds",
    CLASS = "class",
    PARTIAL_CLASS = "partialClass",
    VOID = "void"
}
export declare enum V1_ExecutionNodeType {
    RELATIONAL_TDS_INSTANTIATION = "relationalTdsInstantiation",
    SQL = "sql",
    GLOBAL_GRAPH_FETCH = "graphFetchExecutionNode",
    STORE_MAPPING_GLOBAL_GRAPH_FETCH = "storeMappingGlobalGraphFetchExecutionNode",
    RELATIONAL_CROSS_ROOT_QUERY_TEMP_TABLE_GRAPH_FETCH = "relationalCrossRootQueryTempTableGraphFetch",
    RELATIONAL_ROOT_QUERY_TEMP_TABLE_GRAPH_FETCH = "relationalRootQueryTempTableGraphFetch",
    RELATIONAL_CLASS_QUERY_TEMP_TABLE_GRAPH_FETCH = "relationalClassQueryTempTableGraphFetch",
    PURE_EXPRESSION_PLATFORM = "platform",
    FUNCTION_PARAMETERS_VALIDATION = "function-parameters-validation",
    ALLOCATION = "allocation",
    CONSTANT = "constant",
    SEQUENCE = "sequence",
    IN_MEMORY_PROPERTY_GRAPH_FETCH = "inMemoryPropertyGraphFetch",
    IN_MEMORY_ROOT_GRAPH_FETCH = "inMemoryRootGraphFetch"
}
export declare enum V1_TempTableStrategyType {
    LOAD_FROM_RESULT_SET_AS_VALUE = "resultSet",
    LOAD_FROM_SUB_QUERY = "subQuery",
    LOAD_FROM_TEMP_FILE = "tempFile"
}
export declare function V1_serializeExecutionNode(protocol: V1_ExecutionNode): PlainObject<V1_ExecutionNode>;
export declare function V1_deserializeExecutionNode(json: PlainObject<V1_ExecutionNode>): V1_ExecutionNode;
export declare enum V1_ExecutionPlanType {
    SINGLE = "simple",
    COMPOSITE = "composite"
}
export declare const V1_serializeExecutionPlan: (protocol: V1_ExecutionPlan) => PlainObject<V1_ExecutionPlan>;
export declare const V1_deserializeExecutionPlan: (json: PlainObject<V1_ExecutionPlan>) => V1_ExecutionPlan;
//# sourceMappingURL=V1_ExecutionPlanSerializationHelper.d.ts.map