/// <reference types="node" />
import http from 'http';
import { AnyRouter } from '../core';
import { NodeHTTPCreateContextFnOptions, NodeHTTPHandlerOptions } from './node-http';
export declare type CreateHTTPHandlerOptions<TRouter extends AnyRouter> = NodeHTTPHandlerOptions<TRouter, http.IncomingMessage, http.ServerResponse>;
export declare type CreateHTTPContextOptions = NodeHTTPCreateContextFnOptions<http.IncomingMessage, http.ServerResponse>;
export declare function createHTTPHandler<TRouter extends AnyRouter>(opts: CreateHTTPHandlerOptions<TRouter>): (req: http.IncomingMessage, res: http.ServerResponse) => Promise<void>;
export declare function createHTTPServer<TRouter extends AnyRouter>(opts: CreateHTTPHandlerOptions<TRouter>): {
    server: http.Server<typeof http.IncomingMessage, typeof http.ServerResponse>;
    listen: (port?: number) => {
        port: number | undefined;
    };
};
//# sourceMappingURL=standalone.d.ts.map