/**
 * 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 GraphManagerState, type PackageableRuntime, type AccessorOwner, type Accessor, type RawLambda } from '@finos/legend-graph';
import { QueryBuilderState } from '../../QueryBuilderState.js';
import type { GenericLegendApplicationStore } from '@finos/legend-application';
import type { QueryBuilderWorkflowState, QueryBuilderActionConfig } from '../../query-workflow/QueryBuilderWorkFlowState.js';
import type { QueryBuilderConfig } from '../../../graph-manager/QueryBuilderConfig.js';
import type { QueryableSourceInfo } from '@finos/legend-storage';
export interface AccessorOwnerOption {
    label: string;
    value: AccessorOwner;
}
export declare class AccessorQueryBuilderState extends QueryBuilderState {
    TEMPORARY__setupPanelContentRenderer: () => React.ReactNode;
    constructor(applicationStore: GenericLegendApplicationStore, accessor: Accessor | undefined, graphManagerState: GraphManagerState, workflow: QueryBuilderWorkflowState, actionConfig: QueryBuilderActionConfig, config?: QueryBuilderConfig | undefined, sourceInfo?: QueryableSourceInfo | undefined);
    get accessorOwners(): AccessorOwner[];
    get accessorLabel(): string;
    get accessorOwnerOptions(): AccessorOwnerOption[];
    get selectedAccessorOwner(): AccessorOwner | undefined;
    get accessors(): {
        schemaName?: string | undefined;
        tableName: string;
    }[];
    get accessorsOptions(): {
        label: string;
        value: {
            schemaName?: string | undefined;
            tableName: string;
        };
    }[];
    get compatibleRuntimes(): PackageableRuntime[];
    get requiresMappingForExecution(): boolean;
    /**
     * In accessor mode, configure both filter and post-filter panels to be visible.
     */
    private configureFilterPanelsForAccessor;
    changeAccessorOwner(accessorOwner: AccessorOwner): Promise<void>;
    changeAccessor(value: {
        schemaName?: string | undefined;
        tableName: string;
    }): Promise<void>;
    changeSelectedRuntime(val: PackageableRuntime): void;
    buildQueryForPersistence(): RawLambda;
}
//# sourceMappingURL=AccessorQueryBuilderState.d.ts.map