import type { IBaseComponent, IHttpServerComponent, IStatusCheckCapableComponent } from "@well-known-components/interfaces"; import type { ServerComponents, IHttpServerOptions } from "./types"; /** * @public */ export type FullHttpServerComponent = IHttpServerComponent & IBaseComponent & IStatusCheckCapableComponent & { /** * WARNING! this is a very destructive function, it resets all the .use middlewares * you must reconfigure your handlers entirely after calling this function */ resetMiddlewares(): void; }; /** * Creates a http-server component * @public */ export declare function createServerComponent(components: ServerComponents, options: Partial): Promise>;