import * as Hapi from "hapi"; export declare type RouteType = Route | ActionRoute | DirectoryRoute | FileRoute | Hapi.RouteConfiguration; export interface StaticRoute { new (...args: any[]): RouteType; } export interface Route { method?: Hapi.HTTP_METHODS_PARTIAL; } export interface ActionRoute extends Route { name?: string; path: string; actionObject: { new (...args: any[]): any; }; actionMethod?: string; injections?: symbol[]; } export interface DirectoryRoute extends Route { path?: string; directory: string; } export interface FileRoute extends Route { path?: string; file: string; }