import { RouteInterface } from './interfaces/route.interface'; import { AddRouteInterface } from './interfaces/add-route.interface'; import { MiddlewareInterface } from '../../interfaces/middleware.interface'; export interface RoutingInterface { addRoute(params: RouteInterface): void; addRouteIgnoreCheck(params: AddRouteInterface): void; addRouteBeforeCheck(params: AddRouteInterface): void; addRouteAfterCheck(params: AddRouteInterface): void; handleIgnoredRoutes(params: MiddlewareInterface): Promise; handleBeforeCheckRoutes(params: MiddlewareInterface): Promise; handleAfterCheckRoutes(params: MiddlewareInterface): Promise; }