import { TicketDto } from './ticket/ticket.dto'; export interface Rule { validate(ticket: TicketDto, userId?: string): boolean; readonly name: string; }