import { Request } from 'express'; import { HTTP } from './constants'; export interface IRouteProps { method?: HTTP | string; path?: string; render?: string | false; json?: boolean; callback: (req: Request) => Promise; } export declare class Route { props: IRouteProps; method: HTTP | string; path: string; render: string | false; json: boolean; callback: (req: Request) => Promise; constructor(props: IRouteProps); }