import type { Result } from '../result/Result';
import type { IDomainError } from '../errors/DomainError';
export interface IDomainService {
readonly serviceName?: string;
}
export interface IDomainCalculationService extends IDomainService {
calculate(input: Input): Output;
}
export interface IResultDomainCalculationService
extends IDomainService {
calculate(input: Input): Result