/**
 * 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 { ActionState, type GeneratorFn } from '@finos/legend-shared';
import { type V1_ContractUserEventRecord, type V1_DataContract, type V1_UserPendingContractsRecord, type V1_TaskMetadata } from '@finos/legend-graph';
import { type LakehouseEntitlementsStore } from './LakehouseEntitlementsStore.js';
import { LakehouseViewerState } from './LakehouseViewerState.js';
import { type GridItemDetail } from '../LakehouseUtils.js';
export declare class EntitlementsTaskViewerState extends LakehouseViewerState {
    readonly value: V1_ContractUserEventRecord;
    readonly approvalStatus: ActionState;
    canApprove: boolean | undefined;
    dataContract: V1_DataContract | undefined;
    pendingAssociatedContractEvent: V1_UserPendingContractsRecord[] | undefined;
    changingTaskState: ActionState;
    taskAssignees: string[] | undefined;
    constructor(value: V1_TaskMetadata, state: LakehouseEntitlementsStore);
    get id(): string;
    setPendingAssociatedContractEvent(pendingAssociatedContractEvent: V1_UserPendingContractsRecord[] | undefined): void;
    init(token: string | undefined): GeneratorFn<void>;
    setCanApprove(val: boolean | undefined): void;
    observeContract(): void;
    approve(token: string | undefined): GeneratorFn<void>;
    deny(token: string | undefined): GeneratorFn<void>;
    calculateApprovalRights(token: string | undefined): GeneratorFn<void>;
    fetchContract(token: string | undefined): GeneratorFn<void>;
    get taskDetails(): GridItemDetail[];
}
//# sourceMappingURL=EntitlementsTaskViewerState.d.ts.map