UNPKG

@neoxr/wb

Version:

A simple and easy-to-use WhatsApp bot module built on top of Baileys. Designed for effortless integration and quick setup.

13 lines (12 loc) 362 B
import { Application } from 'express'; import { Route } from '../Utils/types'; declare class RouteLoader { private app; private middleware; private routeFiles; constructor(app: Application, middleware: any); getRouteFiles(dir: string): string[]; load(dir: string): void; defineRoute(route: Route): void; } export default RouteLoader;