import { Server } from 'http'; import { AladoServerOptions } from '../options'; import { Context, Response } from '../dto'; export declare class AladoServer { private readonly appId; private readonly router; private readonly server; private readonly openApiDocObject; private port; private host; private backlog; private readonly logger?; constructor(options: AladoServerOptions); get listening(): boolean; get(path: string, context: Context, handler: (request: any) => Response | Promise>): void; query(path: string, context: Context, handler: (request: any) => Response | Promise>): void; post(path: string, context: Context, handler: (request: any) => Response | Promise>): void; put(path: string, context: Context, handler: (request: any) => Response | Promise>): void; patch(path: string, context: Context, handler: (request: any) => Response | Promise>): void; delete(path: string, context: Context, handler: (request: any) => Response | Promise>): void; head(path: string, context: Context, handler: (request: any) => Promise>): void; start(cb?: (err?: Error) => void): Server; stop(cb: (error?: Error) => void): Server; }