import { RollResult } from '../../domain/index.js'; import { RollService } from '../../ports/index.js'; import { RollOnTableUseCase } from '../roll-on-table-use-case.js'; /** * Implementation of the RollService interface. */ export declare class RollServiceImpl implements RollService { private readonly rollOnTableUseCase; /** * Creates a new RollServiceImpl instance. * @param rollOnTableUseCase The use case for rolling on tables. */ constructor(rollOnTableUseCase: RollOnTableUseCase); /** * Rolls on a table. * @param tableId The ID of the table to roll on. * @param count The number of rolls to perform (default: 1). * @returns An array of roll results. */ rollOnTable(tableId: string, count?: number): Promise; }