import type { Usecase } from '../../usecase/classes/usecase.class'; import type { AnyFunction } from '../../utils/types/utility.type'; import type { AnyGoal } from '../../goal/types/utility.type'; import type { ResolveRoles } from '../../actor/types/utility.type'; export interface ImplementedAs { /** * Defines an Action description and Action handler for the Use-case * * @param actionTitle title of the action * @param handler callback function for the action * @returns chainable definition of action */ implementedAs(handler: Handler): Usecase, Handler, Goal>; }