import { Server } from './server/index.js'; import { Router } from './routing/index.js'; import { Request } from './server/request.js'; import { Response } from './server/response.js'; import { ServiceProvider } from '@supercharge/support'; /** * Add container bindings for services from this provider. */ declare module '@supercharge/contracts' { interface ContainerBindings { 'route': Router; 'router': Router; 'server': Server; Server: Server; Request: typeof Request; Response: typeof Response; } } export declare class HttpServiceProvider extends ServiceProvider { /** * Register application services to the container. */ register(): void; /** * Bind the Router instance into the container. */ private bindServer; /** * Bind the Router instance into the container. */ private bindRouter; /** * Returns the HTTP configuration object. */ private httpConfig; /** * Bind the Request constructor into the container. */ private bindRequest; /** * Bind the Response constructor into the container. */ private bindResponse; /** * Stop application services. */ shutdown(): Promise; }