import { IncomingMessage } from 'http';
import { ServerResponse } from 'node:http';
import { UrlWithParsedQuery } from 'node:url';
interface WebLLMMiddlewareOptions {
    model: string;
    dev?: boolean;
}
export declare class WebLLMMiddleware {
    #private;
    private options;
    private webllmPage;
    constructor(options: WebLLMMiddlewareOptions);
    getRequestHandler(): (req: IncomingMessage, res: ServerResponse, _parsedUrl?: UrlWithParsedQuery | undefined) => Promise<void>;
}
export {};
//# sourceMappingURL=index.d.ts.map