import { type IncomingMessage, type Server } from '../node-singletons/http';
import type { ProxyBackend } from './ProxyBackend';
export type ProxyServerOptions = Readonly<{
    host: string;
    port: number;
    maxBodyBytes: number;
    backend: ProxyBackend;
    verify?: (req: IncomingMessage, body: string) => Promise<{
        ok: true;
    } | {
        ok: false;
        status: number;
        message: string;
    }>;
}>;
export declare const createProxyServer: (options: ProxyServerOptions) => Readonly<{
    start: () => Promise<void>;
    stop: () => Promise<void>;
    server: Server;
}>;
//# sourceMappingURL=ProxyServer.d.ts.map