import { BOUNDARY_KEY, ROLE_NAMES_KEY } from '../../utils/constants/symbol-keys.constant'; import type { RoleNamesDefined } from '../types/role-names-defined.interface'; import type { ICanActionTitle } from '../types/i-can-action-title.interface'; import { AsICanChain } from './as-i-can-chain.class'; import type { AnyBoundary } from '../../boundary/types/utility.type'; import type { BoundaryDefined } from '../types/boundary-defined.interface'; /** * Fluent chain for declaring use case roles, * continues with an action title via `iCan()` */ export declare class AsChain implements BoundaryDefined, RoleNamesDefined, ICanActionTitle { get [BOUNDARY_KEY](): Boundary; get [ROLE_NAMES_KEY](): RoleNames; constructor(boundary: Boundary, roleNames: RoleNames); /** * Declares text title of the Use-case. * * @param title Text title of the Use-case * @returns declaration chain */ iCan(title: ActionTitle): AsICanChain; }