import { Contracts, Types } from "@cauriland/core-kernel"; import { Server as HapiServer, ServerInjectOptions, ServerInjectResponse } from "@hapi/hapi"; import { Plugins } from "../contracts"; export declare class Server { protected readonly app: Contracts.Kernel.Application; protected readonly logger: Contracts.Kernel.Logger; protected readonly pluginFactory: Plugins.PluginFactory; protected server: HapiServer; protected name: string; initialize(name: string, serverOptions: Types.JsonObject): Promise; register(plugins: any | any[]): Promise; inject(options: string | ServerInjectOptions): Promise; boot(): Promise; dispose(): Promise; protected getServerOptions(options: Record): object; private getRoute; }