/** * 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 { LegendDataCubeBuilderStore } from '../../../stores/builder/LegendDataCubeBuilderStore.js'; import { type StoreProjectData } from '@finos/legend-server-depot'; import { V1_ConcreteFunctionDefinition, V1_PackageableRuntime } from '@finos/legend-graph'; import type { UserDefinedFunctionDataCubeSourceBuilderState } from '../../../stores/builder/source/UserDefinedFunctionDataCubeSourceBuilderState.js'; export type ProjectOption = { label: string; value: StoreProjectData; }; export declare const buildProjectOption: (project: StoreProjectData) => ProjectOption; export type VersionOption = { label: string; value: string; }; export declare const buildVersionOption: (version: string) => VersionOption; export type FunctionOption = { label: string; value: V1_ConcreteFunctionDefinition; }; export declare const buildFunctionOption: (functionDefinition: V1_ConcreteFunctionDefinition) => FunctionOption; export type RuntimeOption = { label: string; value: V1_PackageableRuntime; }; export declare const buildRuntimeOption: (runtime: V1_PackageableRuntime) => RuntimeOption; export declare const UserDefinedFunctionDataCubeSourceBuilder: ((props: { sourceBuilder: UserDefinedFunctionDataCubeSourceBuilderState; store: LegendDataCubeBuilderStore; }) => import("react/jsx-runtime").JSX.Element) & { displayName: string; }; //# sourceMappingURL=UserDefinedFunctionDataCubeSourceBuilder.d.ts.map