import { Result } from "@webiny/feature/api"; import { EventPublisher } from "../../../../features/eventPublisher/index.js"; import { CreateRoleUseCase as UseCaseAbstraction } from "./abstractions.js"; import { RolesRepository } from "../shared/abstractions.js"; import { IdentityContext } from "../../IdentityContext/abstractions.js"; import type { Role, CreateRoleInput } from "../shared/types.js"; declare class CreateRoleUseCaseImpl implements UseCaseAbstraction.Interface { private identityContext; private eventPublisher; private repository; constructor(identityContext: IdentityContext.Interface, eventPublisher: EventPublisher.Interface, repository: RolesRepository.Interface); execute(input: CreateRoleInput): Promise>; } export declare const CreateRoleUseCase: import("@webiny/di").Implementation; export {};