import { BOUNDARY_KEY, GOAL_KEY, ROLE_NAMES_KEY, TITLE_KEY } from '../../utils/constants/symbol-keys.constant'; import type { ActionTitleDefined } from '../types/action-title-defined.interface'; import type { RoleNamesDefined } from '../types/role-names-defined.interface'; import type { Usecase } from '../../usecase/classes/usecase.class'; import type { AnyGoal } from '../../goal/types/utility.type'; import type { GoalDefined } from '../types/goal-defined.interface'; import type { ResolveRoles } from '../../actor/types/utility.type'; import type { AnyFunction } from '../../utils/types/utility.type'; import type { ImplementedAs } from '../types/implemented-as.interface'; import type { AnyBoundary } from '../../boundary/types/utility.type'; import type { BoundaryDefined } from '../types/boundary-defined.interface'; /** * Fluent chain for declaring a use case goal, * finalized with a handler via `implementedAs()` */ export declare class AsICanSoThatChain implements BoundaryDefined, RoleNamesDefined, ActionTitleDefined, GoalDefined, ImplementedAs { get [BOUNDARY_KEY](): Boundary; get [ROLE_NAMES_KEY](): RoleNames; get [TITLE_KEY](): ActionTitle; get [GOAL_KEY](): Goal; constructor(boundary: Boundary, roleNames: RoleNames, title: ActionTitle, goal: Goal); /** * Attaches handler function to be executed when Use-case is performed. * * @param handler Use-case execution handler function. * @returns Usecase */ implementedAs(handler: Handler): Usecase, Handler, Goal>; }