import { Router } from "express"; export type RouteMethod = "all" | "get" | "post" | "put" | "delete" | "patch" | "options" | "head"; export interface RouteConfig { path: string; method: RouteMethod; handlers: any[]; requiredAuth: boolean; } export declare const createRoute: (router: Router, route: RouteConfig) => void; export default function (rootDirectory: string): import("express-serve-static-core").Router;