export function findDublicatedMiddleware(registeredMiddlewares: any, newMiddleware: any): any;