/**
 * 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 BasicGraphManagerState, type DatasetEntitlementReport, type DatasetSpecification, type RawLambda, type GraphData } from '@finos/legend-graph';
import { ActionState, type GeneratorFn } from '@finos/legend-shared';
export declare class DatasetAccessInfo {
    readonly uuid: string;
    readonly specification: DatasetSpecification;
    entitlementReport?: DatasetEntitlementReport | undefined;
    constructor(specification: DatasetSpecification);
    setEntitlementReport(val: DatasetEntitlementReport | undefined): void;
}
type EntitlementCheckInfo = {
    total: number;
    data: {
        label: string;
        count: number;
        percentage: number;
        color: string;
    }[];
};
export declare class DataAccessState {
    readonly applicationStore: GenericLegendApplicationStore;
    readonly graphManagerState: BasicGraphManagerState;
    readonly initialDatasets?: DatasetSpecification[] | undefined;
    readonly mapping: string;
    readonly runtime: string;
    readonly graphData: GraphData;
    readonly getQuery: () => Promise<RawLambda | undefined>;
    readonly surveyDatasetsState: ActionState;
    readonly checkEntitlementsState: ActionState;
    datasets: DatasetAccessInfo[];
    constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: BasicGraphManagerState, options: {
        initialDatasets?: DatasetSpecification[] | undefined;
        mapping: string;
        runtime: string;
        graphData: GraphData;
        getQuery: () => Promise<RawLambda | undefined>;
    });
    get entitlementCheckInfo(): EntitlementCheckInfo;
    fetchDatasetSpecifications(): GeneratorFn<void>;
    fetchDatasetEntitlementReports(): GeneratorFn<void>;
    intialize(): Promise<void>;
    refresh(): Promise<void>;
}
export {};
//# sourceMappingURL=DataAccessState.d.ts.map