import { Configuration } from '../../api/generated/default';
import { AdvancedOptions } from '../../services/EntityManager/types';
import { type EntityManagerAddManagerRequest, type EntityManagerApproveGrantRequest, type EntityManagerCreateGrantRequest, type EntityManagerRemoveManagerRequest, type EntityManagerRevokeGrantRequest, type GrantsApiServicesConfig } from './types';
export declare class GrantsApi {
    private readonly entityManager?;
    private readonly usersApi;
    constructor(config: Configuration, services: GrantsApiServicesConfig);
    createGrantWithEntityManager(params: EntityManagerCreateGrantRequest, advancedOptions?: AdvancedOptions): Promise<import("../../services/EntityManager/types").EntityManagerTransactionReceipt>;
    createGrant(params: EntityManagerCreateGrantRequest, requestInit?: RequestInit): Promise<import("../generated/default/models/WriteResponse").WriteResponse>;
    addManagerWithEntityManager(params: EntityManagerAddManagerRequest, advancedOptions?: AdvancedOptions): Promise<import("../../services/EntityManager/types").EntityManagerTransactionReceipt>;
    addManager(params: EntityManagerAddManagerRequest, requestInit?: RequestInit): Promise<import("../generated/default/models/WriteResponse").WriteResponse>;
    removeManagerWithEntityManager(params: EntityManagerRemoveManagerRequest, advancedOptions?: AdvancedOptions): Promise<import("../../services/EntityManager/types").EntityManagerTransactionReceipt>;
    removeManager(params: EntityManagerRemoveManagerRequest, requestInit?: RequestInit): Promise<import("../generated/default/models/WriteResponse").WriteResponse>;
    revokeGrantWithEntityManager(params: EntityManagerRevokeGrantRequest, advancedOptions?: AdvancedOptions): Promise<import("../../services/EntityManager/types").EntityManagerTransactionReceipt>;
    revokeGrant(params: EntityManagerRevokeGrantRequest, requestInit?: RequestInit): Promise<import("../generated/default/models/WriteResponse").WriteResponse>;
    approveGrantWithEntityManager(params: EntityManagerApproveGrantRequest, advancedOptions?: AdvancedOptions): Promise<import("../../services/EntityManager/types").EntityManagerTransactionReceipt>;
    approveGrant(params: EntityManagerApproveGrantRequest, requestInit?: RequestInit): Promise<import("../generated/default/models/WriteResponse").WriteResponse>;
    private getManagerUser;
}
