import express from "express"; export declare function loadRoutes(app: express.Express, routesDir: string, basePath?: string): Promise;