/// import * as Express from "express"; import * as Http from "http"; import * as ServeStatic from "serve-static"; import { SudooExpressApplication } from "./application"; import { SudooExpressHandler, SudooExpressStaticOptions } from "./declare"; import { ISudooExpressRoute } from "./route"; export declare class SudooExpress { static create(app: SudooExpressApplication): SudooExpress; private readonly _express; private readonly _http; private readonly _application; private readonly _errorCreator; private readonly _groups; private readonly _handlers; private constructor(); get express(): Express.Express; get http(): Http.Server; get application(): SudooExpressApplication; getRoutes(): string[]; group(groupName: string, handlers: SudooExpressHandler[]): this; host(port: number): this; use(handler: Express.Handler): this; static(path: string, options?: SudooExpressStaticOptions): this; expressStatic(path: string, options?: ServeStatic.ServeStaticOptions, route?: string): this; health(path: string, isHealthyFunction?: () => boolean, succeedResponse?: any, failedResponse?: any): this; routes(...routes: ISudooExpressRoute[]): this; routeList(routes: ISudooExpressRoute[]): this; route(route: ISudooExpressRoute): this; private _assertGroup; private _parseHandlerName; }