/** * 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 { DataSpaceQueryBuilderState, ResolvedDataSpaceEntityWithOrigin } from '@finos/legend-extension-dsl-data-space/application'; import { type DataSpaceExecutionContext, type DataSpace, type DataSpaceExecutableAnalysisResult, type DataSpaceAnalysisResult } from '@finos/legend-extension-dsl-data-space/graph'; import { type DataSpaceOption } from '@finos/legend-extension-dsl-data-space/application-query'; import { type DepotServerClient } from '@finos/legend-server-depot'; import { LegendSDLC, type Class, type GraphData, type GraphManagerState, type Runtime } from '@finos/legend-graph'; import { type QueryBuilderActionConfig, type QueryBuilderConfig, type QueryBuilderWorkflowState } from '@finos/legend-query-builder'; import type { LegendQueryApplicationStore } from '../../LegendQueryBaseStore.js'; import type { GeneratorFn } from '@finos/legend-shared'; import type { DepotEntityWithOrigin, ProjectGAVCoordinates, QueryableSourceInfo } from '@finos/legend-storage'; import type { DataProductSelectorState } from '../DataProductSelectorState.js'; /** * Legend Query DataSpace query builder state. */ export declare class LegendQueryDataSpaceQueryBuilderState extends DataSpaceQueryBuilderState { applicationStore: LegendQueryApplicationStore; depotServerClient: DepotServerClient; project: ProjectGAVCoordinates; readonly onDataProductChange: (val: DepotEntityWithOrigin) => void; productSelectorState: DataProductSelectorState; TEMPORARY__setupPanelContentRenderer: () => React.ReactNode; constructor(applicationStore: LegendQueryApplicationStore, graphManagerState: GraphManagerState, workflow: QueryBuilderWorkflowState, actionConfig: QueryBuilderActionConfig, dataSpace: DataSpace, executionContext: DataSpaceExecutionContext, isLightGraphEnabled: boolean, depotServerClient: DepotServerClient, project: ProjectGAVCoordinates, prioritizeEntityFunc: ((val: ResolvedDataSpaceEntityWithOrigin) => boolean) | undefined, onDataSpaceChange: (val: ResolvedDataSpaceEntityWithOrigin) => Promise, productSelectorState: DataProductSelectorState, onDataProductChange: (val: DepotEntityWithOrigin) => void, dataSpaceAnalysisResult?: DataSpaceAnalysisResult | undefined, onExecutionContextChange?: ((val: DataSpaceExecutionContext) => void) | undefined, onRuntimeChange?: ((val: Runtime) => void) | undefined, onClassChange?: ((val: Class) => void) | undefined, config?: QueryBuilderConfig | undefined, sourceInfo?: QueryableSourceInfo | undefined); get isAdvancedDataSpaceSearchEnabled(): boolean; get canVisitTemplateQuery(): boolean; get sdlc(): LegendSDLC; get isDataSpaceLinkable(): boolean; withOptions(dataspaces: ResolvedDataSpaceEntityWithOrigin[] | undefined, products: DepotEntityWithOrigin[] | undefined): LegendQueryDataSpaceQueryBuilderState; copyDataSpaceLinkToClipboard(): void; get selectedDataSpaceOption(): DataSpaceOption; loadEntities(): GeneratorFn; visitTemplateQuery(dataSpace: DataSpace, template: DataSpaceExecutableAnalysisResult): void; showAdvancedSearchPanel(dataSpace: DataSpace): void; getGraphData(): GraphData; } //# sourceMappingURL=LegendQueryDataSpaceQueryBuilderState.d.ts.map