import { Result } from "@webiny/feature/api"; import { UpdateRoleUseCase as UseCase } from "./abstractions.js"; import { RolesRepository } from "../shared/abstractions.js"; import { IdentityContext } from "../../IdentityContext/abstractions.js"; import { EventPublisher } from "../../../../features/eventPublisher/index.js"; import type { Role, UpdateRoleInput } from "../shared/types.js"; declare class UpdateRoleUseCaseImpl implements UseCase.Interface { private repository; private identityContext; private eventPublisher; constructor(repository: RolesRepository.Interface, identityContext: IdentityContext.Interface, eventPublisher: EventPublisher.Interface); execute(id: string, input: UpdateRoleInput): Promise>; } export declare const UpdateRoleUseCase: typeof UpdateRoleUseCaseImpl & { __abstraction: import("@webiny/di").Abstraction; }; export {};