import type { CreateServer, Handler, PanicHandler, RequestHeaders, Server, ServerOptions, ServerRequest, ServerResponse } from '@mikrojs/native/runtime/http/server-impl'; export declare const createServer: CreateServer; export declare const ServerError: { AlreadyListening(): { readonly name: 'AlreadyListening'; }; OutOfMemory(message: string): { readonly name: 'OutOfMemory'; readonly message: string; }; StartFailed(message: string): { readonly name: 'StartFailed'; readonly message: string; }; }; export type { CreateServer, Handler, PanicHandler, RequestHeaders, Server, ServerOptions, ServerRequest, ServerResponse, }; //# sourceMappingURL=server.d.ts.map